win32 received_sigterm patch by (Bill Eldridge <bill at rfa dot org>)
authorBill Eldridge <bill@rfa.org>
Tue, 2 Sep 2003 09:11:21 +0000 (09:11 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 2 Sep 2003 09:11:21 +0000 (09:11 +0000)
Originally committed as revision 2199 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffmpeg.c

index 0b6da2e..f0926f8 100644 (file)
--- 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;