[FFmpeg-cvslog] ffmpeg: add a warning stating that the program is deprecated.

Anton Khirnov git at videolan.org
Sat Aug 13 03:18:01 CEST 2011


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Wed Jul 27 21:04:26 2011 +0200| [791a86c37a03b94207bc2d0ad4cbe7f39d7e495a] | committer: Anton Khirnov

ffmpeg: add a warning stating that the program is deprecated.

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

 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);
 



More information about the ffmpeg-cvslog mailing list