[FFmpeg-cvslog] avconv: Replace goto redo on decode fail with continue.
Alex Converse
git at videolan.org
Wed Aug 24 20:34:18 CEST 2011
ffmpeg | branch: master | Alex Converse <alex.converse at gmail.com> | Tue Aug 23 13:47:31 2011 -0700| [b9630bcf8215034f5a50e1f6835d4c4366413618] | committer: Alex Converse
avconv: Replace goto redo on decode fail with continue.
This checks for sigterm but otherwise is identical to the previous
behavior.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b9630bcf8215034f5a50e1f6835d4c4366413618
---
avconv.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/avconv.c b/avconv.c
index 6f1b237..57721f8 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:
More information about the ffmpeg-cvslog
mailing list