[FFmpeg-cvslog] Use the parser for AC-3 in mov.

Carl Eugen Hoyos git at videolan.org
Wed Sep 21 23:42:48 CEST 2011


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Wed Sep 21 23:29:38 2011 +0200| [d5d027682ccb9e11d90fb86ad805548f1bc8ac7b] | committer: Carl Eugen Hoyos

Use the parser for AC-3 in mov.

Fixes ticket #494.

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

 libavformat/mov.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/libavformat/mov.c b/libavformat/mov.c
index 5f91e7d..bcdf77f 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -1272,6 +1272,9 @@ int ff_mov_read_stsd_entries(MOVContext *c, AVIOContext *pb, int entries)
             st->codec->sample_rate = AV_RB32(st->codec->extradata+32);
         }
         break;
+    case CODEC_ID_AC3:
+        st->need_parsing = AVSTREAM_PARSE_FULL;
+        break;
     default:
         break;
     }



More information about the ffmpeg-cvslog mailing list