[MPlayer-dev-eng] [PATCH] VCD support for Windows (except Win9x)

Zuxy Meng zuxy.meng at gmail.com
Mon Feb 26 14:49:10 CET 2007


Hi,

2007/2/26, Compn <tempn at twmi.rr.com>:
> On Mon, 26 Feb 2007 21:37:40 +0800,
> Zuxy Meng scribed:
>
> > +#ifdef WIN32
> > +  HANDLE hd;
> > +  char device[] = "\\\\.\\D:";
> > +#endif
>
> does this hardcode the device name?
> D: is not the dvd/cdrom drive on all systems.

D is only a stub here. The actual letter is filled by:
+  device[4] = p->device[0];

Maybe I should have used a space to avoid confusion, hehe.
-- 
Zuxy
Beauty is truth,
While truth is beauty.
PGP KeyID: E8555ED6



More information about the MPlayer-dev-eng mailing list