mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
ffmpeg: Replace goto redo on decode fail with continue.
This checks for sigterm but otherwise is identical to the previous behavior.
This commit is contained in:
parent
cf89e55ac0
commit
ff037c54b4
3
ffmpeg.c
3
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:
|
||||
|
Loading…
Reference in New Issue
Block a user