From a1d868eb56bab5063f367e392624e3b3de5ea4d3 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 11 Oct 2009 23:14:16 +0200 Subject: [PATCH] decoder_thread: change the fallback decoder name to "mad" When there is no Content-Type response header, try the "mad" decoder plugin. It uesd to be named "mp3", and we forgot to change the fallback name in decoder_thread.c. --- NEWS | 1 + src/decoder_thread.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 9ece8b56b..311667f58 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,7 @@ ver 0.15.5 (2009/??/??) * input: - curl: don't abort if a packet has only metadata +* decoder_thread: change the fallback decoder name to "mad" ver 0.15.4 (2009/10/03) diff --git a/src/decoder_thread.c b/src/decoder_thread.c index 2b1a6299a..d6ff058ec 100644 --- a/src/decoder_thread.c +++ b/src/decoder_thread.c @@ -169,7 +169,7 @@ static void decoder_run_song(const struct song *song, const char *uri) if (plugin == NULL) { /* we already know our mp3Plugin supports streams, no * need to check for stream{Types,DecodeFunc} */ - if ((plugin = decoder_plugin_from_name("mp3"))) { + if ((plugin = decoder_plugin_from_name("mad"))) { ret = decoder_stream_decode(plugin, &decoder, &input_stream); }