aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder_thread.c
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 /src/decoder_thread.c
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--src/decoder_thread.c2
1 files changed, 1 insertions, 1 deletions
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);
}