From 49e704cb19dfe72b293fd286395e37ed1d3c3d99 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 1 Jan 2018 12:16:42 +0100 Subject: build: move copyright statement to a shared location Now macosx_menubar.m and mpv.rc (win32) use the same copyright string. (This is a bit roundabout, because mpv.rc can't use C constants. Also the C code wants to avoid rebuilding real source files if only version.h changed, so only version.c includes version.h.) --- player/main.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'player') diff --git a/player/main.c b/player/main.c index 1a0de32686..5f79e784ed 100644 --- a/player/main.c +++ b/player/main.c @@ -140,9 +140,8 @@ void mp_update_logging(struct MPContext *mpctx, bool preinit) void mp_print_version(struct mp_log *log, int always) { int v = always ? MSGL_INFO : MSGL_V; - mp_msg(log, v, - "%s (C) 2000-2018 mpv/MPlayer/mplayer2 projects\n built on %s\n", - mpv_version, mpv_builddate); + mp_msg(log, v, "%s %s\n built on %s\n", + mpv_version, mpv_copyright, mpv_builddate); print_libav_versions(log, v); mp_msg(log, v, "\n"); // Only in verbose mode. -- cgit v1.2.3