diff options
Diffstat (limited to '')
-rw-r--r-- | src/decoder/oggflac_decoder_plugin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder/oggflac_decoder_plugin.c b/src/decoder/oggflac_decoder_plugin.c index 63438c2b9..7e5f48318 100644 --- a/src/decoder/oggflac_decoder_plugin.c +++ b/src/decoder/oggflac_decoder_plugin.c @@ -297,7 +297,7 @@ oggflac_decode(struct decoder * mpd_decoder, struct input_stream *input_stream) goto fail; } - if (!flac_data_get_audio_format(&data, &audio_format)) + if (!data.initialized) goto fail; decoder_initialized(mpd_decoder, &audio_format, |