Mercurial > mplayer.hg
diff mpcommon.h @ 35868:3edaed3c1d60
Win32: support file names with characters outside system code-page
This is done by trying to interpret the file name as being UTF-8 encoded
first.
The command-line is fetched as UTF-16 and converted to UTF-8
to match with this.
author | reimar |
---|---|
date | Thu, 14 Mar 2013 20:04:24 +0000 |
parents | c52940fe54dd |
children | 68794f2fbf1e |
line wrap: on
line diff
--- a/mpcommon.h Thu Mar 14 19:59:35 2013 +0000 +++ b/mpcommon.h Thu Mar 14 20:04:24 2013 +0000 @@ -80,7 +80,7 @@ int cfg_inc_verbose(m_option_t *conf); int cfg_include(m_option_t *conf, const char *filename); -void common_preinit(void); +void common_preinit(int *argc_ptr, char **argv_ptr[]); int common_init(void); double calc_a_pts(struct sh_audio *sh_audio, demux_stream_t *d_audio);