mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
make SIGINT only stop the current mode, not the whole run
This commit is contained in:
@@ -386,6 +386,7 @@ static FLAC__bool seek_barrage(FLAC__bool is_ogg, const char *filename, off_t fi
|
||||
printf("OK\n");
|
||||
fflush(stdout);
|
||||
}
|
||||
stop_signal_ = false;
|
||||
|
||||
if(FLAC__stream_decoder_get_state(decoder) != FLAC__STREAM_DECODER_UNINITIALIZED) {
|
||||
if(!FLAC__stream_decoder_finish(decoder))
|
||||
|
||||
Reference in New Issue
Block a user