aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2014-03-13 22:12:18 +0100
committerLuca Barbato <lu_zero@gentoo.org>2014-07-29 17:47:32 +0200
commit02cf0c9e42967de1e4d2803bee3573bc5b735fdd (patch)
tree87bfeffd54fe7eeaa6abf0b2794d4b9814eaf702
parent3a19405d574a467c68b48e4b824c76617fd59de0 (diff)
downloadffmpeg-02cf0c9e42967de1e4d2803bee3573bc5b735fdd.tar.gz
aac: Register the mime type
Speed up probing ADTS live streams that are not frame-aligned such as http://mp3.streampower.be/radio1.aac .
-rw-r--r--libavformat/aacdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/aacdec.c b/libavformat/aacdec.c
index f7e61efe9b..566c3e78b9 100644
--- a/libavformat/aacdec.c
+++ b/libavformat/aacdec.c
@@ -102,5 +102,6 @@ AVInputFormat ff_aac_demuxer = {
.read_packet = ff_raw_read_partial_packet,
.flags = AVFMT_GENERIC_INDEX,
.extensions = "aac",
+ .mime_type = "audio/aac,audio/aacp,audio/x-aac",
.raw_codec_id = AV_CODEC_ID_AAC,
};