summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorAlex Converse <alex.converse@gmail.com>2011-08-30 16:39:05 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-08-30 18:10:10 +0200
commitff037c54b43c512c7fd7f342801a086563c4de23 (patch)
treeac281150762ebc186aa349fbd3fc515b362542c5 /ffmpeg.c
parentcf89e55ac095000ee6be6d08e430fc42e37d54be (diff)
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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 29ea5b2679..82169b8201 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -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: