win32 received_sigterm patch by (Bill Eldridge <bill at rfa dot org>)

Originally committed as revision 2199 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Bill Eldridge 2003-09-02 09:11:21 +00:00 committed by Michael Niedermayer
parent e91df37619
commit 3633ada546

View File

@ -1149,7 +1149,11 @@ static int av_encode(AVFormatContext **output_files,
stream_no_data = 0; stream_no_data = 0;
key = -1; key = -1;
#ifndef CONFIG_WIN32
for(; received_sigterm == 0;) { for(; received_sigterm == 0;) {
#else
for(;;) {
#endif
int file_index, ist_index; int file_index, ist_index;
AVPacket pkt; AVPacket pkt;
uint8_t *ptr; uint8_t *ptr;