diff options
Diffstat (limited to '')
-rw-r--r-- | src/inputPlugins/flac_plugin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inputPlugins/flac_plugin.c b/src/inputPlugins/flac_plugin.c index 0b4fbf27e..cd8a8efd3 100644 --- a/src/inputPlugins/flac_plugin.c +++ b/src/inputPlugins/flac_plugin.c @@ -427,9 +427,9 @@ static int oggflac_decode(struct decoder *decoder, InputStream * inStream) return flac_decode_internal(decoder, inStream, 1); } -static unsigned int oggflac_try_decode(InputStream * inStream) +static bool oggflac_try_decode(InputStream * inStream) { - return (ogg_stream_type_detect(inStream) == FLAC) ? 1 : 0; + return ogg_stream_type_detect(inStream) == FLAC; } static const char *oggflac_suffixes[] = { "ogg", "oga", NULL }; |