"&", 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
This commit is contained in:
parent
c7cd49d123
commit
1b65ae02d4
@ -339,7 +339,7 @@ void decodeStart(PlayerControl * pc, OutputBuffer * cb, DecoderControl * dc) {
|
|||||||
else {
|
else {
|
||||||
cb->acceptMetadata = 0;
|
cb->acceptMetadata = 0;
|
||||||
plugin = getInputPluginFromSuffix(getSuffix(dc->utf8url));
|
plugin = getInputPluginFromSuffix(getSuffix(dc->utf8url));
|
||||||
if(plugin && (plugin->streamTypes && INPUT_PLUGIN_STREAM_FILE))
|
if(plugin && (plugin->streamTypes & INPUT_PLUGIN_STREAM_FILE))
|
||||||
{
|
{
|
||||||
if(plugin->streamDecodeFunc) {
|
if(plugin->streamDecodeFunc) {
|
||||||
ret = plugin->streamDecodeFunc(cb, dc,
|
ret = plugin->streamDecodeFunc(cb, dc,
|
||||||
|
Loading…
Reference in New Issue
Block a user