[FFmpeg-cvslog] avformat/mov: E-AC-3 streams need parsing too.

Benoit Fouet git at videolan.org
Thu Oct 9 15:45:25 CEST 2014


ffmpeg | branch: master | Benoit Fouet <benoit.fouet at free.fr> | Thu Oct  9 09:17:49 2014 +0200| [7cda31cb924c740981de84ce37c4c0a055635bad] | committer: Michael Niedermayer

avformat/mov: E-AC-3 streams need parsing too.

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 at gmx.at>

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

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

diff --git a/libavformat/mov.c b/libavformat/mov.c
index d040918..4ff46dd 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -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;



More information about the ffmpeg-cvslog mailing list