Browse Source

ffmpeg: exit() on repeated ctrl-c

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.10
Michael Niedermayer 13 years ago
parent
commit
cf7076ee96
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      ffmpeg.c

+ 2
- 0
ffmpeg.c View File

@@ -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)


Loading…
Cancel
Save