From 1b65ae02d4303050bc33754f4ee467010b416a4d Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 20 Aug 2005 22:16:40 +0000 Subject: "&", not "&&" (the bug itself was harmless, but a bug nevertheless) git-svn-id: https://svn.musicpd.org/mpd/trunk@3445 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/decode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/decode.c') diff --git a/src/decode.c b/src/decode.c index fc91cd708..56fdb1979 100644 --- a/src/decode.c +++ b/src/decode.c @@ -339,7 +339,7 @@ void decodeStart(PlayerControl * pc, OutputBuffer * cb, DecoderControl * dc) { else { cb->acceptMetadata = 0; plugin = getInputPluginFromSuffix(getSuffix(dc->utf8url)); - if(plugin && (plugin->streamTypes && INPUT_PLUGIN_STREAM_FILE)) + if(plugin && (plugin->streamTypes & INPUT_PLUGIN_STREAM_FILE)) { if(plugin->streamDecodeFunc) { ret = plugin->streamDecodeFunc(cb, dc, -- cgit v1.2.3