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.
This commit is contained in:
Max Kellermann
2008-11-04 17:10:19 +01:00
parent 59c20e5afe
commit 85a7d1a148
13 changed files with 0 additions and 28 deletions

View File

@@ -1115,7 +1115,6 @@ const struct decoder_plugin mp3Plugin = {
.init = mp3_plugin_init,
.stream_decode = mp3_decode,
.tag_dup = mp3_tag_dup,
.stream_types = INPUT_PLUGIN_STREAM_FILE | INPUT_PLUGIN_STREAM_URL,
.suffixes = mp3_suffixes,
.mime_types = mp3_mime_types
};