diff options
Diffstat (limited to 'apps/plugins/codecflac.c')
| -rw-r--r-- | apps/plugins/codecflac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/codecflac.c b/apps/plugins/codecflac.c index f17be35..282f692 100644 --- a/apps/plugins/codecflac.c +++ b/apps/plugins/codecflac.c @@ -204,7 +204,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parm) FLAC__seekable_stream_decoder_process_until_end_of_metadata(flacDecoder); /* The main decoder loop */ - while (FLAC__seekable_stream_decoder_get_state(flacDecoder)!=2) { + while (FLAC__seekable_stream_decoder_get_state(flacDecoder)!=FLAC__SEEKABLE_STREAM_DECODER_END_OF_STREAM) { rb->yield(); if (ci->stop_codec || ci->reload_codec) { break; |