Commit ff037c54 authored by Alex Converse's avatar Alex Converse Committed by Michael Niedermayer

ffmpeg: Replace goto redo on decode fail with continue.

This checks for sigterm but otherwise is identical to the previous
behavior.
parent cf89e55a
...@@ -2299,7 +2299,6 @@ static int transcode(OutputFile *output_files, ...@@ -2299,7 +2299,6 @@ static int transcode(OutputFile *output_files,
int64_t ipts_min; int64_t ipts_min;
double opts_min; double opts_min;
redo:
ipts_min= INT64_MAX; ipts_min= INT64_MAX;
opts_min= 1e100; opts_min= 1e100;
/* if 'q' pressed, exits */ /* if 'q' pressed, exits */
...@@ -2490,7 +2489,7 @@ static int transcode(OutputFile *output_files, ...@@ -2490,7 +2489,7 @@ static int transcode(OutputFile *output_files,
if (exit_on_error) if (exit_on_error)
exit_program(1); exit_program(1);
av_free_packet(&pkt); av_free_packet(&pkt);
goto redo; continue;
} }
discard_packet: discard_packet:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment