From ac7ecbe30cdec598955471d2ed012f36296b78de Mon Sep 17 00:00:00 2001 From: James Ross-Gowan Date: Sun, 29 Mar 2015 22:36:46 +1100 Subject: win32: use a platform-specific unicode entry-point Add a platform-specific entry-point for Windows. This will allow some platform-specific initialization to be added without the need for ugly ifdeffery in main.c. As an immediate advantage, mpv can now use a unicode entry-point and convert the command line arguments to UTF-8 before passing them to mpv_main, so osdep_preinit can be simplified a little bit. --- osdep/io.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'osdep/io.h') diff --git a/osdep/io.h b/osdep/io.h index 0348d3d1a3..a116f3e566 100644 --- a/osdep/io.h +++ b/osdep/io.h @@ -65,8 +65,6 @@ char *mp_to_utf8(void *talloc_ctx, const wchar_t *s); #include #include -void mp_get_converted_argv(int *argc, char ***argv); - int mp_printf(const char *format, ...); int mp_fprintf(FILE *stream, const char *format, ...); int mp_open(const char *filename, int oflag, ...); -- cgit v1.2.3 From f43017bfe97c07aa73206d8d1388294cdbee628f Mon Sep 17 00:00:00 2001 From: Marcin Kurczewski Date: Mon, 13 Apr 2015 09:36:54 +0200 Subject: Update license headers Signed-off-by: wm4 --- osdep/io.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'osdep/io.h') diff --git a/osdep/io.h b/osdep/io.h index a116f3e566..8d3e24f551 100644 --- a/osdep/io.h +++ b/osdep/io.h @@ -1,20 +1,20 @@ /* * unicode/utf-8 I/O helpers and wrappers for Windows * - * This file is part of mplayer2. + * This file is part of mpv. * - * mplayer2 is free software; you can redistribute it and/or modify + * mpv is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * - * mplayer2 is distributed in the hope that it will be useful, + * mpv is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along - * with mplayer2. If not, see . + * with mpv. If not, see . */ #ifndef MPLAYER_OSDEP_IO -- cgit v1.2.3