From a51c8a68adbe466a4fddd9ff83aadd16bd0ece03 Mon Sep 17 00:00:00 2001 From: Mats Peterson Date: Fri, 15 Jan 2016 23:28:06 +0100 Subject: [PATCH] lavf/mov: Don't limit fourcc 0 -> raw/twos to version 0 sample descriptions Signed-off-by: Michael Niedermayer --- libavformat/mov.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)