ffmpeg: use exit_program() if configure_video_filters() fails.

This commit is contained in:
Clément Bœsch 2012-02-07 11:38:03 +01:00 committed by Clément Bœsch
parent 3546f680d5
commit 4ab4b3db5a

View File

@ -2623,7 +2623,7 @@ static int transcode_init(OutputFile *output_files, int nb_output_files,
#if CONFIG_AVFILTER
if (configure_video_filters(ist, ost)) {
av_log(NULL, AV_LOG_FATAL, "Error opening filters!\n");
exit(1);
exit_program(1);
}
#endif
break;