From d5d027682ccb9e11d90fb86ad805548f1bc8ac7b Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Wed, 21 Sep 2011 23:29:38 +0200 Subject: [PATCH] Use the parser for AC-3 in mov. Fixes ticket #494. --- libavformat/mov.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavformat/mov.c b/libavformat/mov.c index 5f91e7d50c..bcdf77f091 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; }