aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-03-25 02:26:49 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-03-25 02:26:49 +0100
commit6dfb4ab8c8e8069ecf6b9c3d056f43df57a1c643 (patch)
treeb135546cb7efe260d32d01b7f9704d382f5cf93b
parent48ee302e0fa84fe93855f81716cd2e27a8de9de7 (diff)
downloadffmpeg-6dfb4ab8c8e8069ecf6b9c3d056f43df57a1c643.tar.gz
Make multiple Ctrl-C capable to kill stuck protocols.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--ffmpeg.c1
1 files changed, 1 insertions, 0 deletions
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();
}