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:
@@ -260,6 +260,5 @@ const struct decoder_plugin modPlugin = {
|
||||
.finish = mod_finishMikMod,
|
||||
.file_decode = mod_decode,
|
||||
.tag_dup = modTagDup,
|
||||
.stream_types = INPUT_PLUGIN_STREAM_FILE,
|
||||
.suffixes = modSuffixes,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user