Commit 8f072323 authored by Josh Coalson's avatar Josh Coalson
Browse files

make SIGINT only stop the current mode, not the whole run

parent 0b12f7fa
......@@ -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))
......
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