fix bug where flush() was not setting the state back to OK

This commit is contained in:
Josh Coalson
2002-07-26 05:26:18 +00:00
parent a4c0d72a42
commit f57c0219ba

View File

@@ -499,6 +499,8 @@ FLAC__bool FLAC__seekable_stream_decoder_flush(FLAC__SeekableStreamDecoder *deco
return false;
}
decoder->protected_->state = FLAC__SEEKABLE_STREAM_DECODER_OK;
return true;
}