aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-04-27 13:29:24 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-04-27 13:29:28 +0200
commit7e7b668ef50cc85d98a772b8fb3b96a26950b80f (patch)
tree34ce9c3ff0c03d2f3f255204bfed46e7269a2edc /libavformat
parente20ebe491c17388a312e04ff060c217ecfafc914 (diff)
parentade5851be085d392cc7490d4cf64c6fe4ac6ae6a (diff)
downloadffmpeg-7e7b668ef50cc85d98a772b8fb3b96a26950b80f.tar.gz
Merge remote-tracking branch 'cehoyos/master'
* cehoyos/master: Try mov tags if the fourcc in V_MS/VFW mkv files cannot be found in bmp tags. Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/matroskadec.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c
index 66268fd27b..7c10f33e6e 100644
--- a/libavformat/matroskadec.c
+++ b/libavformat/matroskadec.c
@@ -1760,6 +1760,9 @@ static int matroska_read_header(AVFormatContext *s)
fourcc = AV_RL32(track->codec_priv.data + 16);
codec_id = ff_codec_get_id(ff_codec_bmp_tags,
fourcc);
+ if (!codec_id)
+ codec_id = ff_codec_get_id(ff_codec_movvideo_tags,
+ fourcc);
extradata_offset = 40;
} else if (!strcmp(track->codec_id, "A_MS/ACM") &&
track->codec_priv.size >= 14 &&