Commit 8c22143e authored by Michael Niedermayer's avatar Michael Niedermayer

ffmpeg: Use 2 instead of STDERR_FILENO

STDERR_FILENO is not available on windows
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent cdcf637d
......@@ -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);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment