aboutsummaryrefslogtreecommitdiffstats
path: root/avconv.c
diff options
context:
space:
mode:
authorAlex Converse <alex.converse@gmail.com>2011-08-23 13:47:31 -0700
committerAlex Converse <alex.converse@gmail.com>2011-08-24 10:13:32 -0700
commitb9630bcf8215034f5a50e1f6835d4c4366413618 (patch)
tree9e78c40c52cd9a1cfc2e5b9051d509168da74c6d /avconv.c
parent389e0a5a24bf5a08d2c9a4cb41c7ae143e5ef2a6 (diff)
downloadffmpeg-b9630bcf8215034f5a50e1f6835d4c4366413618.tar.gz
avconv: Replace goto redo on decode fail with continue.
This checks for sigterm but otherwise is identical to the previous behavior.
Diffstat (limited to 'avconv.c')
-rw-r--r--avconv.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/avconv.c b/avconv.c
index 6f1b23736e..57721f8fb2 100644
--- a/avconv.c
+++ b/avconv.c
@@ -2246,7 +2246,6 @@ static int transcode(OutputFile *output_files,
int64_t ipts_min;
double opts_min;
- redo:
ipts_min = INT64_MAX;
opts_min= 1e100;
@@ -2361,7 +2360,7 @@ static int transcode(OutputFile *output_files,
if (exit_on_error)
exit_program(1);
av_free_packet(&pkt);
- goto redo;
+ continue;
}
discard_packet: