From 3633ada54620154a7535772a0724d86a866caedf Mon Sep 17 00:00:00 2001 From: Bill Eldridge Date: Tue, 2 Sep 2003 09:11:21 +0000 Subject: [PATCH] win32 received_sigterm patch by (Bill Eldridge ) Originally committed as revision 2199 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffmpeg.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ffmpeg.c b/ffmpeg.c index 0b6da2e62ba..f0926f80251 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -1149,7 +1149,11 @@ static int av_encode(AVFormatContext **output_files, stream_no_data = 0; key = -1; +#ifndef CONFIG_WIN32 for(; received_sigterm == 0;) { +#else + for(;;) { +#endif int file_index, ist_index; AVPacket pkt; uint8_t *ptr; -- 2.39.2