diff --git a/ffmpeg.c b/ffmpeg.c index f151e8433b045fc1d57105945507e4172024c474..aa90fe6bbf8a58b078961e46bacfa2e367d2d01a 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -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)