# HG changeset patch # User aurel # Date 1251121413 0 # Node ID 1f237326c8bc03f44bc7d5a0a8ebc9dcec54418a # Parent 8a649e932c1efe02d14b008c746fb51a2e9e231c matroskadec: add correct extradata offset for V_MS/VFW/FOURCC tracks diff -r 8a649e932c1e -r 1f237326c8bc matroskadec.c --- a/matroskadec.c Mon Aug 24 13:40:30 2009 +0000 +++ b/matroskadec.c Mon Aug 24 13:43:33 2009 +0000 @@ -1246,6 +1246,7 @@ && 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) {