ffmpeg: add a warning stating that the program is deprecated.
authorAnton Khirnov <anton@khirnov.net>
Wed, 27 Jul 2011 19:04:26 +0000 (21:04 +0200)
committerAnton Khirnov <anton@khirnov.net>
Fri, 12 Aug 2011 11:27:20 +0000 (13:27 +0200)
ffmpeg.c

index c155a73..1a6ba51 100644 (file)
--- 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);