summaryrefslogtreecommitdiff
path: root/libavformat/matroskadec.c
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2009-08-24 13:43:33 +0000
committerAurelien Jacobs <aurel@gnuage.org>2009-08-24 13:43:33 +0000
commit429eeecd5a46feebf8a2ad4427d29cf1079ce827 (patch)
treee1f792f17cf4593e1b49a1d21f1d577edb9999d1 /libavformat/matroskadec.c
parente26444079c5744ea3ab70bb8081c8eb2730710b0 (diff)
matroskadec: add correct extradata offset for V_MS/VFW/FOURCC tracks
Originally committed as revision 19694 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/matroskadec.c')
-rw-r--r--libavformat/matroskadec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c
index 0ab1cc9138..319aea0037 100644
--- a/libavformat/matroskadec.c
+++ b/libavformat/matroskadec.c
@@ -1246,6 +1246,7 @@ static int matroska_read_header(AVFormatContext *s, AVFormatParameters *ap)
&& 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) {