summaryrefslogtreecommitdiffstats
path: root/player/main-fn-unix.c
Commit message (Collapse)AuthorAgeFilesLines
* win32: use a platform-specific unicode entry-pointJames Ross-Gowan2015-04-111-0/+15
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.