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