diff mplayer.c @ 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 355bbee58b99
children 389d43c448b3
line wrap: on
line diff
--- a/mplayer.c	Thu Mar 14 19:59:35 2013 +0000
+++ b/mplayer.c	Thu Mar 14 20:04:24 2013 +0000
@@ -2769,7 +2769,7 @@
     int profile_config_loaded;
     int i;
 
-    common_preinit();
+    common_preinit(&argc, &argv);
 
     // Create the config context and register the options
     mconfig = m_config_new();