ffmpeg | branch: master | Michael Niedermayer <michae...@gmx.at> | Thu Jun 25 23:43:18 2015 +0200| [8c22143e7e006bb66bc380a874ceb609b62d8997] | committer: Michael Niedermayer
ffmpeg: Use 2 instead of STDERR_FILENO STDERR_FILENO is not available on windows Signed-off-by: Michael Niedermayer <michae...@gmx.at> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8c22143e7e006bb66bc380a874ceb609b62d8997 --- ffmpeg.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ffmpeg.c b/ffmpeg.c index f537ce9..8b3f347 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -322,8 +322,9 @@ sigterm_handler(int sig) received_nb_signals++; term_exit_sigsafe(); if(received_nb_signals > 3) { - write(STDERR_FILENO, "Received > 3 system signals, hard exiting\n", - strlen("Received > 3 system signals, hard exiting\n")); + write(2/*STDERR_FILENO*/, "Received > 3 system signals, hard exiting\n", + strlen("Received > 3 system signals, hard exiting\n")); + exit(123); } } _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog