Commit 429eeecd authored by Aurelien Jacobs's avatar Aurelien Jacobs

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

Originally committed as revision 19694 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent e2644407
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment