ffmpeg: use exit_program() if configure_video_filters() fails.
This commit is contained in:
parent
3546f680d5
commit
4ab4b3db5a
1 changed files with 1 additions and 1 deletions
2
ffmpeg.c
2
ffmpeg.c
|
@ -2623,7 +2623,7 @@ static int transcode_init(OutputFile *output_files, int nb_output_files,
|
||||||
#if CONFIG_AVFILTER
|
#if CONFIG_AVFILTER
|
||||||
if (configure_video_filters(ist, ost)) {
|
if (configure_video_filters(ist, ost)) {
|
||||||
av_log(NULL, AV_LOG_FATAL, "Error opening filters!\n");
|
av_log(NULL, AV_LOG_FATAL, "Error opening filters!\n");
|
||||||
exit(1);
|
exit_program(1);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue