From dafe92a9edd35ef805963d30e953bcadd78074d3 Mon Sep 17 00:00:00 2001 From: Warren Dukes Date: Thu, 3 Jun 2004 23:45:40 +0000 Subject: 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 --- src/decode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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( -- cgit v1.2.3