[FFmpeg-devel] [PATCH 1/4] ffmpeg: use exit_program() if configure_video_filters() fails.
Clément Bœsch
ubitux at gmail.com
Tue Feb 7 12:04:03 CET 2012
From: Clément Bœsch <clement.boesch at smartjog.com>
---
ffmpeg.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/ffmpeg.c b/ffmpeg.c
index 9b6c19d..74468a7 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -2611,7 +2611,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;
--
1.7.8.3
More information about the ffmpeg-devel
mailing list