[FFmpeg-cvslog] aac: Register the mime type
Luca Barbato
git at videolan.org
Tue Jul 29 21:17:29 CEST 2014
ffmpeg | branch: master | Luca Barbato <lu_zero at gentoo.org> | Thu Mar 13 22:12:18 2014 +0100| [02cf0c9e42967de1e4d2803bee3573bc5b735fdd] | committer: Luca Barbato
aac: Register the mime type
Speed up probing ADTS live streams that are not frame-aligned such
as http://mp3.streampower.be/radio1.aac .
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=02cf0c9e42967de1e4d2803bee3573bc5b735fdd
---
libavformat/aacdec.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavformat/aacdec.c b/libavformat/aacdec.c
index f7e61ef..566c3e7 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,
};
More information about the ffmpeg-cvslog
mailing list