mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-28 20:53:54 +02:00
fftools/ffmpeg: return an error instead of aborting
This commit is contained in:
parent
858b635613
commit
5fe3914c39
@ -1094,7 +1094,7 @@ static int process_input(int file_index)
|
||||
av_log(ifile, AV_LOG_ERROR,
|
||||
"Error retrieving a packet from demuxer: %s\n", av_err2str(ret));
|
||||
if (exit_on_error)
|
||||
exit_program(1);
|
||||
return ret;
|
||||
}
|
||||
|
||||
for (i = 0; i < ifile->nb_streams; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user