Commit cf7076ee authored by Michael Niedermayer's avatar Michael Niedermayer

ffmpeg: exit() on repeated ctrl-c

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 3d07e0ab
......@@ -549,6 +549,8 @@ static void sigterm_handler(int sig)
received_sigterm = sig;
received_nb_signals++;
term_exit();
if(received_nb_signals > 3)
exit(123);
}
static void term_init(void)
......
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