---
 libavformat/mlvdec.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libavformat/mlvdec.c b/libavformat/mlvdec.c
index 22c94c6c58..a786f73fba 100644
--- a/libavformat/mlvdec.c
+++ b/libavformat/mlvdec.c
@@ -259,6 +259,10 @@ static int scan_file(AVFormatContext *avctx, AVStream 
*vst, AVStream *ast, int f
             read_uint32(avctx, pb, "colortone", "%"PRIi32);
             read_string(avctx, pb, "picStyleName", 16);
             size -= 36;
+        } else if (type == MKTAG('V','E','R','S') && size >= 4) {
+            unsigned int length = avio_rl32(pb);
+            read_string(avctx, pb, "version", length);
+            size -= length + 4;
         } else if (type == MKTAG('M','A','R','K')) {
         } else if (type == MKTAG('N','U','L','L')) {
         } else if (type == MKTAG('M','L','V','I')) { /* occurs when MLV and 
Mnn files are concatenated */
-- 
2.45.2

-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)

Attachment: signature.asc
Description: PGP signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to