Re: avicap32 patch

2005-04-25 Thread Maarten Lankhorst
Juan Lang wrote: Hi Maarten, You need to include "winnls.h" unconditionally, capGetDriverDescriptionW is always compiled with calls to MultiByteToWideChar. Oops, didn't see it, my fault -- fixed + sprintf(device, "/dev/video%i", devnum); Why not use snprintf(device, sizeof(device) ...) in

Re: avicap32 patch

2005-04-25 Thread Juan Lang
Hi Maarten, > +#ifdef HAVE_LINUX_VIDEODEV_H > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include "winnls.h" > +#endif You need to include "winnls.h" unconditionally, capGetDriverDescriptionW is always compiled with calls to MultiByteT