summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorClément Bœsch <clement.boesch@smartjog.com>2012-02-07 11:38:03 +0100
committerClément Bœsch <ubitux@gmail.com>2012-02-10 19:59:38 +0100
commit4ab4b3db5af0a9936cf2c9a9be235bf0e458d54c (patch)
treed55c8fd961288264c953bda082d3cbf48e845627 /ffmpeg.c
parent3546f680d5497630bdb3092aef2de82d68075c38 (diff)
ffmpeg: use exit_program() if configure_video_filters() fails.
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
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;