changeset 5142:1f237326c8bc libavformat

matroskadec: add correct extradata offset for V_MS/VFW/FOURCC tracks
author aurel
date Mon, 24 Aug 2009 13:43:33 +0000
parents 8a649e932c1e
children f25bc340370b
files matroskadec.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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) {