Browse Source

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

Originally committed as revision 2199 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Bill Eldridge Michael Niedermayer 22 years ago
parent
commit
3633ada546
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      ffmpeg.c

+ 4
- 0
ffmpeg.c View File

@@ -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;


Loading…
Cancel
Save