[FFmpeg-devel] [PATCH 3/3] ffmpeg: do not catch SIGQUIT.

Nicolas George george at nsup.org
Sun Mar 13 12:07:48 CET 2016


SIGQUIT is meant for debugging purposes. A signal handler will
corrupt stack traces and make everything more complicated.

Signed-off-by: Nicolas George <george at nsup.org>
---
 ffmpeg.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/ffmpeg.c b/ffmpeg.c
index 45a22fa..f0e4966 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -383,7 +383,6 @@ void term_init(void)
 
             tcsetattr (0, TCSANOW, &tty);
         }
-        signal(SIGQUIT, sigterm_handler); /* Quit (POSIX).  */
     }
 #endif
 
-- 
2.7.0



More information about the ffmpeg-devel mailing list