forked from len0rd/rockbox
Use proper enumeration for END_OF_STREAM test
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6598 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
6c082a857a
commit
02e22ea1d5
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue