[MPlayer-dev-eng] [PATCH] Use unrar for open vobsubs if available

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Fri Dec 14 10:55:09 CET 2007


Hello,
On Fri, Dec 14, 2007 at 09:24:14AM +0100, Reimar Döffinger wrote:
[...]
> Did you actually read the CreateProcess documentation? I'd really like
> to know why you think this will help?

To elaborate:
http://msdn2.microsoft.com/en-us/library/ms682425.aspx
CreateProcess does have a separate argument for the binary
name so at least we can easily avoid executing the wrong thing
(thus making the access() checks really pointless), but the
commandline is still _one_ string, it is not possible to provide
an argument array.
Which also means that each program is free to disregard the
Windows-escaping and implement its own command-line parsing.

Greetings,
Reimar Döffinger



More information about the MPlayer-dev-eng mailing list