aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-10-11 23:14:16 +0200
committerMax Kellermann <max@duempel.org>2009-10-11 23:14:16 +0200
commita1d868eb56bab5063f367e392624e3b3de5ea4d3 (patch)
tree1f0c1b3792770bff6493cd7ef47158106181a189
parentaf92b1c2d815befec7bd9541e76c5402bcbf05c4 (diff)
downloadmpd-a1d868eb56bab5063f367e392624e3b3de5ea4d3.tar.gz
mpd-a1d868eb56bab5063f367e392624e3b3de5ea4d3.tar.xz
mpd-a1d868eb56bab5063f367e392624e3b3de5ea4d3.zip
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.
Diffstat (limited to '')
-rw-r--r--NEWS1
-rw-r--r--src/decoder_thread.c2
2 files changed, 2 insertions, 1 deletions
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);
}