[FFmpeg-devel] [PATCH 1/9] ffmpeg: use exit_program() if configure_video_filters() fails.

Clément Bœsch ubitux at gmail.com
Wed Feb 8 18:18:24 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 d2cbd03..c37ab18 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -2626,7 +2626,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