]> git.sesse.net Git - ffmpeg/commitdiff
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 0b6da2e62baba91141ea49d549380f865ff8097d..f0926f802512656de5465d91f42a879205a479a7 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;