| 124 | } |
| 125 | |
| 126 | [[gnu::pure]] |
| 127 | static bool |
| 128 | decoder_check_plugin(const DecoderPlugin &plugin, const InputStream &is, |
| 129 | std::string_view suffix) noexcept |
| 130 | { |
| 131 | return plugin.stream_decode != nullptr && |
| 132 | (decoder_check_plugin_mime(plugin, is) || |
| 133 | decoder_check_plugin_suffix(plugin, suffix)); |
| 134 | } |
| 135 | |
| 136 | inline bool |
| 137 | GetChromaprintCommand::DecodeStream(InputStream &is, |
no test coverage detected