[FFmpeg-cvslog] r19694 - trunk/libavformat/matroskadec.c

aurel subversion
Mon Aug 24 15:43:33 CEST 2009


Author: aurel
Date: Mon Aug 24 15:43:33 2009
New Revision: 19694

Log:
matroskadec: add correct extradata offset for V_MS/VFW/FOURCC tracks

Modified:
   trunk/libavformat/matroskadec.c

Modified: trunk/libavformat/matroskadec.c
==============================================================================
--- trunk/libavformat/matroskadec.c	Mon Aug 24 15:40:30 2009	(r19693)
+++ trunk/libavformat/matroskadec.c	Mon Aug 24 15:43:33 2009	(r19694)
@@ -1246,6 +1246,7 @@ static int matroska_read_header(AVFormat
             && track->codec_priv.data != NULL) {
             track->video.fourcc = AV_RL32(track->codec_priv.data + 16);
             codec_id = ff_codec_get_id(ff_codec_bmp_tags, track->video.fourcc);
+            extradata_offset = 40;
         } else if (!strcmp(track->codec_id, "A_MS/ACM")
                    && track->codec_priv.size >= 18
                    && track->codec_priv.data != NULL) {



More information about the ffmpeg-cvslog mailing list