summaryrefslogtreecommitdiffstats
path: root/libavformat/mov.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2011-09-21 23:29:38 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2011-09-21 23:42:03 +0200
commitd5d027682ccb9e11d90fb86ad805548f1bc8ac7b (patch)
tree5f8e5d8558e0e5d5f518ed45541d2a57140fac6c /libavformat/mov.c
parent3e1a7ae44a97f20bbc9da0eba000663ef74e1890 (diff)
downloadffmpeg-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.c3
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;
}
OpenPOWER on IntegriCloud