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

Mats Peterson git at videolan.org
Sat Jan 16 14:19:03 CET 2016


ffmpeg | branch: master | Mats Peterson <matsp888 at yahoo.com> | Fri Jan 15 23:28:06 2016 +0100| [a51c8a68adbe466a4fddd9ff83aadd16bd0ece03] | committer: Michael Niedermayer

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

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a51c8a68adbe466a4fddd9ff83aadd16bd0ece03
---

 libavformat/mov.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/mov.c b/libavformat/mov.c
index 4cc5ff2..98c2f51 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)



More information about the ffmpeg-cvslog mailing list