Skip to content
Snippets Groups Projects
Commit cf7076ee authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

ffmpeg: exit() on repeated ctrl-c

parent 3d07e0ab
No related branches found
No related tags found
No related merge requests found
...@@ -549,6 +549,8 @@ static void sigterm_handler(int sig) ...@@ -549,6 +549,8 @@ static void sigterm_handler(int sig)
received_sigterm = sig; received_sigterm = sig;
received_nb_signals++; received_nb_signals++;
term_exit(); term_exit();
if(received_nb_signals > 3)
exit(123);
} }
static void term_init(void) static void term_init(void)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment