[libav-devel] [PATCH 04/15] ffmpeg: add a warning stating that the program is deprecated.

Anton Khirnov anton at khirnov.net
Tue Aug 9 10:54:38 CEST 2011


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

diff --git a/ffmpeg.c b/ffmpeg.c
index c155a73..1a6ba51 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -4394,6 +4394,10 @@ int main(int argc, char **argv)
 
     show_banner();
 
+    av_log(NULL, AV_LOG_WARNING, "This program is not developed anymore and is only "
+                                 "provided for compatibility. Use avconv instead "
+                                 "(see Changelog for the list of incompatible changes).\n");
+
     /* parse options */
     parse_options(argc, argv, options, opt_output_file);
 
-- 
1.7.5.4



More information about the libav-devel mailing list