[SCM] libav/experimental: aac: Register the mime type

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Aug 10 16:04:05 UTC 2014


The following commit has been merged in the experimental branch:
commit 02cf0c9e42967de1e4d2803bee3573bc5b735fdd
Author: Luca Barbato <lu_zero at gentoo.org>
Date:   Thu Mar 13 22:12:18 2014 +0100

    aac: Register the mime type
    
    Speed up probing ADTS live streams that are not frame-aligned such
    as http://mp3.streampower.be/radio1.aac .

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,
 };

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list