diff options
author | Dave Chapman <dave@dchapman.com> | 2005-06-07 19:38:13 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2005-06-07 19:38:13 +0000 |
commit | 02e22ea1d51500f826b5646ddc4cd53dda3037f1 (patch) | |
tree | dcca072fb00bc31c2c7ba6fa8ea7115bd41d3062 /apps/plugins | |
parent | 6c082a857af4200a4b1c2631deef9c01501ad04a (diff) | |
download | rockbox-02e22ea1d51500f826b5646ddc4cd53dda3037f1.tar.gz rockbox-02e22ea1d51500f826b5646ddc4cd53dda3037f1.zip |
Use proper enumeration for END_OF_STREAM test
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6598 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
-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 f17be3560a..282f692838 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) | |||
204 | FLAC__seekable_stream_decoder_process_until_end_of_metadata(flacDecoder); | 204 | FLAC__seekable_stream_decoder_process_until_end_of_metadata(flacDecoder); |
205 | 205 | ||
206 | /* The main decoder loop */ | 206 | /* The main decoder loop */ |
207 | while (FLAC__seekable_stream_decoder_get_state(flacDecoder)!=2) { | 207 | while (FLAC__seekable_stream_decoder_get_state(flacDecoder)!=FLAC__SEEKABLE_STREAM_DECODER_END_OF_STREAM) { |
208 | rb->yield(); | 208 | rb->yield(); |
209 | if (ci->stop_codec || ci->reload_codec) { | 209 | if (ci->stop_codec || ci->reload_codec) { |
210 | break; | 210 | break; |