[FFmpeg-cvslog] version string: add copyright line to version string

Simon Thelen git at videolan.org
Mon Jun 16 20:26:13 CEST 2014


ffmpeg | branch: master | Simon Thelen <ffmpeg-dev at c-14.de> | Wed Jun 11 01:58:44 2014 +0200| [389d45351e06a065df613f2151069aae47f68319] | committer: Lou Logan

version string: add copyright line to version string

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 at c-14.de>

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

 cmdutils.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmdutils.c b/cmdutils.c
index e7e8f63..eb60ac4 100644
--- a/cmdutils.c
+++ b/cmdutils.c
@@ -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;



More information about the ffmpeg-cvslog mailing list