diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2009-08-24 13:43:33 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2009-08-24 13:43:33 +0000 |
commit | 429eeecd5a46feebf8a2ad4427d29cf1079ce827 (patch) | |
tree | e1f792f17cf4593e1b49a1d21f1d577edb9999d1 /libavformat/matroskadec.c | |
parent | e26444079c5744ea3ab70bb8081c8eb2730710b0 (diff) | |
download | ffmpeg-429eeecd5a46feebf8a2ad4427d29cf1079ce827.tar.gz |
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.c | 1 |
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) { |