summaryrefslogtreecommitdiffstats
path: root/demux
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-06-30 01:29:06 +0200
committerwm4 <wm4@nowhere>2019-09-19 20:37:05 +0200
commit943fc889894e157f0678a5b3e39d3d41f3eda3b7 (patch)
treed0cc1f8f0d5e23297aa461517ba12b6d07947510 /demux
parent3e22ed46b41bd4e6503bc68fff8322ff937add26 (diff)
downloadmpv-943fc889894e157f0678a5b3e39d3d41f3eda3b7.tar.bz2
mpv-943fc889894e157f0678a5b3e39d3d41f3eda3b7.tar.xz
win32: remove -municode from mpv binary
If this is used, the runtime expects that wmain() instead of main() is defined. This caused me severe problems in a certain now irrelevant case. I think it's a good idea to avoid this special case. We can just use main() and call GetCommandLineW() instead. This function returns a single string, so use CommandLineToArgvW() to split it, and hope it has the same semantics. Should this ever return NULL, hope that it leaves argc at 0. Untested, I think.
Diffstat (limited to 'demux')
0 files changed, 0 insertions, 0 deletions