summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Eldridge <bill@rfa.org>2003-09-02 09:11:21 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-09-02 09:11:21 +0000
commit3633ada54620154a7535772a0724d86a866caedf (patch)
tree0a675b8b197ef87602ffd04ba49e0a704f70df4c
parente91df376191b53897898b816f5abd27261b267f3 (diff)
win32 received_sigterm patch by (Bill Eldridge <bill at rfa dot org>)
Originally committed as revision 2199 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--ffmpeg.c4
1 files changed, 4 insertions, 0 deletions
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;