aboutsummaryrefslogtreecommitdiffstats
path: root/src/decode.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-06-03 23:45:40 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-06-03 23:45:40 +0000
commitdafe92a9edd35ef805963d30e953bcadd78074d3 (patch)
tree0a52581fb56cc2c5e9005700dc64087a7ee1d219 /src/decode.c
parent710ec5695b549c1875cf0cdd274d7c00b11494a5 (diff)
downloadmpd-dafe92a9edd35ef805963d30e953bcadd78074d3.tar.gz
mpd-dafe92a9edd35ef805963d30e953bcadd78074d3.tar.xz
mpd-dafe92a9edd35ef805963d30e953bcadd78074d3.zip
in decodeStart(), on switch for getting type of file, swtich on dc->utf8url, not pc->utf8url
git-svn-id: https://svn.musicpd.org/mpd/trunk@1320 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/decode.c')
-rw-r--r--src/decode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decode.c b/src/decode.c
index ed6861ffd..decc313ae 100644
--- a/src/decode.c
+++ b/src/decode.c
@@ -310,7 +310,7 @@ void decodeStart(PlayerControl * pc, OutputBuffer * cb, DecoderControl * dc) {
}
ret = DECODE_ERROR_UNKTYPE;
- if(isRemoteUrl(pc->utf8url)) {
+ if(isRemoteUrl(dc->utf8url)) {
plugin = getInputPluginFromMimeType(inStream.mime);
if(plugin == NULL) {
plugin = getInputPluginFromSuffix(