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
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