Commit a51c8a68 authored by Mats Peterson's avatar Mats Peterson Committed by Michael Niedermayer

lavf/mov: Don't limit fourcc 0 -> raw/twos to version 0 sample descriptions

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent d7c75a5d
......@@ -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)
......
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