make SIGINT only stop the current mode, not the whole run
authorJosh Coalson <jcoalson@users.sourceforce.net>
Tue, 11 Sep 2007 07:33:25 +0000 (07:33 +0000)
committerJosh Coalson <jcoalson@users.sourceforce.net>
Tue, 11 Sep 2007 07:33:25 +0000 (07:33 +0000)
src/test_seeking/main.c

index d5b5487..11b549a 100644 (file)
@@ -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))