From cc1b1f773fce876dec196d73161393f6ddd91da6 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 27 May 2013 23:27:59 +0200 Subject: [PATCH] demuxer_lavf: use audio/mpeg mime type for mp3 Basically, add exactly the same hacks for mp3 as we did for AAC. Should make starting mp3 streams much faster. --- demux/demux_lavf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/demux/demux_lavf.c b/demux/demux_lavf.c index 64452b97f5..a978bc9cee 100644 --- a/demux/demux_lavf.c +++ b/demux/demux_lavf.c @@ -93,6 +93,7 @@ struct format_hack { static const struct format_hack format_hacks[] = { {"aac", "audio/aacp", 25, 0.5}, + {"mp3", "audio/mpeg", 25, 0.5}, {0} };