diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-09-21 23:29:38 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-09-21 23:42:03 +0200 |
commit | d5d027682ccb9e11d90fb86ad805548f1bc8ac7b (patch) | |
tree | 5f8e5d8558e0e5d5f518ed45541d2a57140fac6c /libavformat/mov.c | |
parent | 3e1a7ae44a97f20bbc9da0eba000663ef74e1890 (diff) | |
download | ffmpeg-streaming-d5d027682ccb9e11d90fb86ad805548f1bc8ac7b.zip ffmpeg-streaming-d5d027682ccb9e11d90fb86ad805548f1bc8ac7b.tar.gz |
Use the parser for AC-3 in mov.
Fixes ticket #494.
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r-- | 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; } |