aboutsummaryrefslogtreecommitdiffstats
path: root/src/decode.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/decode.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/decode.c b/src/decode.c
index bb043d6b2..f19301c66 100644
--- a/src/decode.c
+++ b/src/decode.c
@@ -311,9 +311,7 @@ void decodeStart(PlayerControl * pc, OutputBuffer * cb, DecoderControl * dc) {
ret = DECODE_ERROR_UNKTYPE;
if(isRemoteUrl(pc->utf8url)) {
- if(inStream.mime) {
- plugin = getInputPluginFromMimeType(inStream.mime);
- }
+ plugin = getInputPluginFromMimeType(inStream.mime);
if(plugin == NULL) {
plugin = getInputPluginFromSuffix(
getSuffix(dc->utf8url));