diff options
author | Patrice Bensoussan <patrice.bensoussan@free.fr> | 2004-07-25 00:22:20 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-07-25 00:22:20 +0000 |
commit | a9aeda81e72fdc7c457645b231b7b05040944517 (patch) | |
tree | 1ee6df493957f28b309739a09add1a97ea8245c4 | |
parent | 510eae8baeb5f371bb6f749806886eaa37c1d02b (diff) | |
download | ffmpeg-a9aeda81e72fdc7c457645b231b7b05040944517.tar.gz |
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
-rw-r--r-- | ffmpeg.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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) |