diff options
author | Alex Converse <alex.converse@gmail.com> | 2011-08-30 16:39:05 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-08-30 18:10:10 +0200 |
commit | ff037c54b43c512c7fd7f342801a086563c4de23 (patch) | |
tree | ac281150762ebc186aa349fbd3fc515b362542c5 /ffmpeg.c | |
parent | cf89e55ac095000ee6be6d08e430fc42e37d54be (diff) | |
download | ffmpeg-ff037c54b43c512c7fd7f342801a086563c4de23.tar.gz |
ffmpeg: Replace goto redo on decode fail with continue.
This checks for sigterm but otherwise is identical to the previous
behavior.
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -2299,7 +2299,6 @@ static int transcode(OutputFile *output_files, int64_t ipts_min; double opts_min; - redo: ipts_min= INT64_MAX; opts_min= 1e100; /* if 'q' pressed, exits */ @@ -2490,7 +2489,7 @@ static int transcode(OutputFile *output_files, if (exit_on_error) exit_program(1); av_free_packet(&pkt); - goto redo; + continue; } discard_packet: |