[FFmpeg-cvslog] ffmpeg: use exit_program() if configure_video_filters() fails.

Clément Bœsch git at videolan.org
Fri Feb 10 20:35:08 CET 2012


ffmpeg | branch: master | Clément Bœsch <clement.boesch at smartjog.com> | Tue Feb  7 11:38:03 2012 +0100| [4ab4b3db5af0a9936cf2c9a9be235bf0e458d54c] | committer: Clément Bœsch

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

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4ab4b3db5af0a9936cf2c9a9be235bf0e458d54c
---

 ffmpeg.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ffmpeg.c b/ffmpeg.c
index e9e2e23..9d4a1c5 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;



More information about the ffmpeg-cvslog mailing list