1
0
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:
Anton Khirnov 2023-07-12 19:48:05 +02:00
parent 858b635613
commit 5fe3914c39

View File

@ -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++) {