OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d07e0a
)
ffmpeg: exit() on repeated ctrl-c
author
Michael Niedermayer
<michaelni@gmx.at>
Fri, 16 Dec 2011 18:37:32 +0000
(19:37 +0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Fri, 16 Dec 2011 18:37:32 +0000
(19:37 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffmpeg.c
patch
|
blob
|
history
diff --git
a/ffmpeg.c
b/ffmpeg.c
index
f151e84
..
aa90fe6
100644
(file)
--- 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)