From 4ab4b3db5af0a9936cf2c9a9be235bf0e458d54c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= Date: Tue, 7 Feb 2012 11:38:03 +0100 Subject: [PATCH] ffmpeg: use exit_program() if configure_video_filters() fails. --- ffmpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffmpeg.c b/ffmpeg.c index e9e2e23f07..9d4a1c56d6 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -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;