From 6dfb4ab8c8e8069ecf6b9c3d056f43df57a1c643 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 25 Mar 2011 02:26:49 +0100 Subject: [PATCH] Make multiple Ctrl-C capable to kill stuck protocols. Signed-off-by: Michael Niedermayer --- ffmpeg.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ffmpeg.c b/ffmpeg.c index f3680dfc67..821a71129b 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -433,6 +433,7 @@ static void sigterm_handler(int sig) { received_sigterm = sig; + q_pressed++; term_exit(); }