aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/wavpack_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-11-04 17:10:19 +0100
committerMax Kellermann <max@duempel.org>2008-11-04 17:10:19 +0100
commit85a7d1a1487dd29705b6df5175727d565350c784 (patch)
treeffc41cf98b259576d938c2152809f37ffae24ba5 /src/decoder/wavpack_plugin.c
parent59c20e5afe8449204298c7d801b93636be237b4d (diff)
downloadmpd-85a7d1a1487dd29705b6df5175727d565350c784.tar.gz
mpd-85a7d1a1487dd29705b6df5175727d565350c784.tar.xz
mpd-85a7d1a1487dd29705b6df5175727d565350c784.zip
decoder: removed stream_types
Instead of checking the stream_types bit set, we can simply check whether the methods stream_decode() and file_decode() are implemented.
Diffstat (limited to '')
-rw-r--r--src/decoder/wavpack_plugin.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/decoder/wavpack_plugin.c b/src/decoder/wavpack_plugin.c
index 977ab973d..18073c070 100644
--- a/src/decoder/wavpack_plugin.c
+++ b/src/decoder/wavpack_plugin.c
@@ -539,7 +539,6 @@ const struct decoder_plugin wavpack_plugin = {
.stream_decode = wavpack_streamdecode,
.file_decode = wavpack_filedecode,
.tag_dup = wavpack_tagdup,
- .stream_types = INPUT_PLUGIN_STREAM_FILE | INPUT_PLUGIN_STREAM_URL,
.suffixes = wavpack_suffixes,
.mime_types = wavpack_mime_types
};