avformat/mov: E-AC-3 streams need parsing too.
authorBenoit Fouet <benoit.fouet@free.fr>
Thu, 9 Oct 2014 07:17:49 +0000 (09:17 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 9 Oct 2014 13:38:09 +0000 (15:38 +0200)
syncframes in E-AC-3 can be combined to provide 6 audio blocks per
sample, thus requiring parsing for proper decoding.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/mov.c

index d040918..4ff46dd 100644 (file)
@@ -1699,6 +1699,7 @@ static int mov_finalize_stsd_codec(MOVContext *c, AVIOContext *pb,
         }
         break;
     case AV_CODEC_ID_AC3:
+    case AV_CODEC_ID_EAC3:
     case AV_CODEC_ID_MPEG1VIDEO:
     case AV_CODEC_ID_VC1:
         st->need_parsing = AVSTREAM_PARSE_FULL;