Reset last_frame_is_set on flush

This commit is contained in:
Martijn van Beurden 2022-10-09 08:18:56 +02:00 committed by GitHub
parent 90c0562d4e
commit 3d55a9dc6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -894,6 +894,7 @@ FLAC_API FLAC__bool FLAC__stream_decoder_flush(FLAC__StreamDecoder *decoder)
decoder->private_->samples_decoded = 0;
decoder->private_->do_md5_checking = false;
decoder->private_->last_seen_framesync = 0;
decoder->private_->last_frame_is_set = false;
#if FLAC__HAS_OGG
if(decoder->private_->is_ogg)