aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2005-08-20 22:16:40 +0000
committerEric Wong <normalperson@yhbt.net>2005-08-20 22:16:40 +0000
commit1b65ae02d4303050bc33754f4ee467010b416a4d (patch)
tree4b74607b0cfa672b4ef8f42c6d76e48f1e397395 /src
parentc7cd49d123e52c5a4db03f159a51bf894ea13f26 (diff)
downloadmpd-1b65ae02d4303050bc33754f4ee467010b416a4d.tar.gz
mpd-1b65ae02d4303050bc33754f4ee467010b416a4d.tar.xz
mpd-1b65ae02d4303050bc33754f4ee467010b416a4d.zip
"&", 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
Diffstat (limited to 'src')
-rw-r--r--src/decode.c2
1 files changed, 1 insertions, 1 deletions
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,