Commit b312f28a authored by Josh Coalson's avatar Josh Coalson
Browse files

set state to SEARCH_FOR_FRAME_SYNC after flush

parent 8084b055
...@@ -343,6 +343,7 @@ FLAC__bool FLAC__stream_decoder_flush(FLAC__StreamDecoder *decoder) ...@@ -343,6 +343,7 @@ FLAC__bool FLAC__stream_decoder_flush(FLAC__StreamDecoder *decoder)
decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR; decoder->protected_->state = FLAC__STREAM_DECODER_MEMORY_ALLOCATION_ERROR;
return false; return false;
} }
decoder->protected_->state = FLAC__STREAM_DECODER_SEARCH_FOR_FRAME_SYNC;
return true; return true;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment