diff --git a/ffmpeg.c b/ffmpeg.c index 0b6da2e62b..f0926f8025 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;