version string: add copyright line to version string
authorSimon Thelen <ffmpeg-dev@c-14.de>
Tue, 10 Jun 2014 23:58:44 +0000 (01:58 +0200)
committerLou Logan <lou@lrcd.com>
Mon, 16 Jun 2014 18:24:28 +0000 (10:24 -0800)
Show the copyright when running `ffmpeg -version'. This is useful for
end users trying to determine whether they are using FFmpeg or Libav.

Signed-off-by: Simon Thelen <ffmpeg@c-14.de>
cmdutils.c

index e7e8f63..eb60ac4 100644 (file)
@@ -1115,7 +1115,7 @@ void show_banner(int argc, char **argv, const OptionDef *options)
 int show_version(void *optctx, const char *opt, const char *arg)
 {
     av_log_set_callback(log_callback_help);
-    print_program_info (0           , AV_LOG_INFO);
+    print_program_info (SHOW_COPYRIGHT, AV_LOG_INFO);
     print_all_libs_info(SHOW_VERSION, AV_LOG_INFO);
 
     return 0;