[FFmpeg-devel] [PATCH] avformat/mov: E-AC-3 streams need parsing too.
Benoit Fouet
benoit.fouet at free.fr
Thu Oct 9 09:17:49 CEST 2014
syncframes in E-AC-3 can be combined to provide 6 audio blocks per
sample, thus requiring parsing for proper decoding.
---
libavformat/mov.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavformat/mov.c b/libavformat/mov.c
index fdd0671..40c2fc4 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -1631,6 +1631,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;
--
2.1.0.127.g0c72b98
More information about the ffmpeg-devel
mailing list