diff options
author | Eric Wong <normalperson@yhbt.net> | 2005-08-20 22:16:40 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2005-08-20 22:16:40 +0000 |
commit | 1b65ae02d4303050bc33754f4ee467010b416a4d (patch) | |
tree | 4b74607b0cfa672b4ef8f42c6d76e48f1e397395 /src/decode.c | |
parent | c7cd49d123e52c5a4db03f159a51bf894ea13f26 (diff) | |
download | mpd-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 '')
-rw-r--r-- | src/decode.c | 2 |
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, |