diff options
author | Mats Peterson <matsp888@yahoo.com> | 2016-01-15 23:28:06 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-01-16 11:42:46 +0100 |
commit | a51c8a68adbe466a4fddd9ff83aadd16bd0ece03 (patch) | |
tree | 7caa62e9f9b45c08e7b1f790ac4027695727ecda /libavformat | |
parent | d7c75a5db0cf3674e1a5c3e51ac024ef2ef6f09f (diff) | |
download | ffmpeg-a51c8a68adbe466a4fddd9ff83aadd16bd0ece03.tar.gz |
lavf/mov: Don't limit fourcc 0 -> raw/twos to version 0 sample descriptions
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/mov.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c index 4cc5ff2ae6..98c2f51931 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -1863,7 +1863,7 @@ static void mov_parse_stsd_audio(MOVContext *c, AVIOContext *pb, } } - if (version == 0 && sc->format == 0) { + if (sc->format == 0) { if (st->codec->bits_per_coded_sample == 8) st->codec->codec_id = mov_codec_id(st, MKTAG('r','a','w',' ')); else if (st->codec->bits_per_coded_sample == 16) |