1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

Fix bug causing conversion to stop when output_packet() fails patch by (Patrice Bensoussan <patrice.bensoussan at free dot fr>)

Originally committed as revision 3337 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Patrice Bensoussan 2004-07-25 00:22:20 +00:00 committed by Michael Niedermayer
parent 510eae8bae
commit a9aeda81e7

View File

@ -1778,10 +1778,12 @@ static int av_encode(AVFormatContext **output_files,
for(; received_sigterm == 0;) {
int file_index, ist_index;
AVPacket pkt;
double ipts_min= 1e100;
double opts_min= 1e100;
double ipts_min;
double opts_min;
redo:
ipts_min= 1e100;
opts_min= 1e100;
/* if 'q' pressed, exits */
if (!using_stdin) {
if (q_pressed)