diff options
author | Max Kellermann <max@duempel.org> | 2008-11-04 17:10:19 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-11-04 17:10:19 +0100 |
commit | 85a7d1a1487dd29705b6df5175727d565350c784 (patch) | |
tree | ffc41cf98b259576d938c2152809f37ffae24ba5 /src/decoder/flac_plugin.c | |
parent | 59c20e5afe8449204298c7d801b93636be237b4d (diff) | |
download | mpd-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 'src/decoder/flac_plugin.c')
-rw-r--r-- | src/decoder/flac_plugin.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/decoder/flac_plugin.c b/src/decoder/flac_plugin.c index f3aaf42c6..1deba8ad7 100644 --- a/src/decoder/flac_plugin.c +++ b/src/decoder/flac_plugin.c @@ -443,7 +443,6 @@ const struct decoder_plugin oggflacPlugin = { .try_decode = oggflac_try_decode, .stream_decode = oggflac_decode, .tag_dup = oggflac_tag_dup, - .stream_types = INPUT_PLUGIN_STREAM_URL | INPUT_PLUGIN_STREAM_FILE, .suffixes = oggflac_suffixes, .mime_types = oggflac_mime_types }; @@ -459,7 +458,6 @@ const struct decoder_plugin flacPlugin = { .name = "flac", .stream_decode = flac_decode, .tag_dup = flacTagDup, - .stream_types = INPUT_PLUGIN_STREAM_URL | INPUT_PLUGIN_STREAM_FILE, .suffixes = flacSuffixes, .mime_types = flac_mime_types }; |