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>
... | ... |
@@ -1115,7 +1115,7 @@ void show_banner(int argc, char **argv, const OptionDef *options) |
1115 | 1115 |
int show_version(void *optctx, const char *opt, const char *arg) |
1116 | 1116 |
{ |
1117 | 1117 |
av_log_set_callback(log_callback_help); |
1118 |
- print_program_info (0 , AV_LOG_INFO); |
|
1118 |
+ print_program_info (SHOW_COPYRIGHT, AV_LOG_INFO); |
|
1119 | 1119 |
print_all_libs_info(SHOW_VERSION, AV_LOG_INFO); |
1120 | 1120 |
|
1121 | 1121 |
return 0; |