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(