Change type of received_sigterm variable from sig_atomic_t to int,
authorMartin Storsjö <martin@martin.st>
Mon, 27 Jul 2009 13:01:44 +0000 (13:01 +0000)
committerDiego Biurrun <diego@biurrun.de>
Mon, 27 Jul 2009 13:01:44 +0000 (13:01 +0000)
which is more portable (works on Windows CE).
patch by Martin Storsjö, martin martin st

Originally committed as revision 19515 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffmpeg.c

index b7fe947..e899180 100644 (file)
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -326,7 +326,7 @@ static void term_exit(void)
 #endif
 }
 
-static volatile sig_atomic_t received_sigterm = 0;
+static volatile int received_sigterm = 0;
 
 static void
 sigterm_handler(int sig)