diff options
author | Michael Niedermayer | 2015-06-25 23:43:18 +0200 |
---|---|---|
committer | Michael Niedermayer | 2015-06-25 23:44:06 +0200 |
commit | 8c22143e7e006bb66bc380a874ceb609b62d8997 (patch) | |
tree | ca237740efb4e2ef971d75b5ad69515d16dafef3 /ffmpeg.c | |
parent | cdcf637d56c69bf43915cb9078f533e86f83bf10 (diff) |
ffmpeg: Use 2 instead of STDERR_FILENO
STDERR_FILENO is not available on windows
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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); } } |