oops, fix syntax error
This commit is contained in:
parent
352e0f6bfd
commit
bd82959b1d
@ -158,7 +158,7 @@ bool FLAC__file_decoder_process_whole_file(FLAC__FileDecoder *decoder)
|
||||
bool ret;
|
||||
assert(decoder != 0);
|
||||
|
||||
if(decoder->guts->stream->state == FLAC__STREAM_DECODER_END_OF_FILE)
|
||||
if(decoder->guts->stream->state == FLAC__STREAM_DECODER_END_OF_STREAM)
|
||||
decoder->state = FLAC__FILE_DECODER_END_OF_FILE;
|
||||
|
||||
if(decoder->state == FLAC__FILE_DECODER_END_OF_FILE)
|
||||
@ -178,7 +178,7 @@ bool FLAC__file_decoder_process_metadata(FLAC__FileDecoder *decoder)
|
||||
bool ret;
|
||||
assert(decoder != 0);
|
||||
|
||||
if(decoder->guts->stream->state == FLAC__STREAM_DECODER_END_OF_FILE)
|
||||
if(decoder->guts->stream->state == FLAC__STREAM_DECODER_END_OF_STREAM)
|
||||
decoder->state = FLAC__FILE_DECODER_END_OF_FILE;
|
||||
|
||||
if(decoder->state == FLAC__FILE_DECODER_END_OF_FILE)
|
||||
@ -198,7 +198,7 @@ bool FLAC__file_decoder_process_one_frame(FLAC__FileDecoder *decoder)
|
||||
bool ret;
|
||||
assert(decoder != 0);
|
||||
|
||||
if(decoder->guts->stream->state == FLAC__STREAM_DECODER_END_OF_FILE)
|
||||
if(decoder->guts->stream->state == FLAC__STREAM_DECODER_END_OF_STREAM)
|
||||
decoder->state = FLAC__FILE_DECODER_END_OF_FILE;
|
||||
|
||||
if(decoder->state == FLAC__FILE_DECODER_END_OF_FILE)
|
||||
@ -218,7 +218,7 @@ bool FLAC__file_decoder_process_remaining_frames(FLAC__FileDecoder *decoder)
|
||||
bool ret;
|
||||
assert(decoder != 0);
|
||||
|
||||
if(decoder->guts->stream->state == FLAC__STREAM_DECODER_END_OF_FILE)
|
||||
if(decoder->guts->stream->state == FLAC__STREAM_DECODER_END_OF_STREAM)
|
||||
decoder->state = FLAC__FILE_DECODER_END_OF_FILE;
|
||||
|
||||
if(decoder->state == FLAC__FILE_DECODER_END_OF_FILE)
|
||||
|
Loading…
Reference in New Issue
Block a user