| 190 | } |
| 191 | |
| 192 | [[gnu::pure]] |
| 193 | static bool |
| 194 | decoder_check_plugin_mime(const DecoderPlugin &plugin, |
| 195 | const InputStream &is) noexcept |
| 196 | { |
| 197 | const char *mime_type = is.GetMimeType(); |
| 198 | return mime_type != nullptr && |
| 199 | plugin.SupportsMimeType(GetMimeTypeBase(mime_type)); |
| 200 | } |
| 201 | |
| 202 | [[gnu::pure]] |
| 203 | static bool |
no test coverage detected