diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-12-16 19:43:54 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-12-16 19:43:54 +0100 |
commit | 7b92863f30b1a748dc17bf662379261b42751f86 (patch) | |
tree | dd3313249a0d7d4b775de25fb5aae8abe016edf9 /ffmpeg.c | |
parent | cf7076ee9685d1ae35f2838904574e8aba3b067d (diff) | |
download | ffmpeg-7b92863f30b1a748dc17bf662379261b42751f86.tar.gz |
ffmpeg: Fix killing [Y/n] prompt with ctrl-c
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -3302,6 +3302,7 @@ static void assert_file_overwrite(const char *filename) fprintf(stderr,"File '%s' already exists. Overwrite ? [y/N] ", filename); fflush(stderr); term_exit(); + signal(SIGINT, SIG_DFL); if (!read_yesno()) { av_log(0, AV_LOG_FATAL, "Not overwriting - exiting\n"); exit_program(1); |