Hi Erik. Current (rev. 443) version of gspca.c file is exactly same as in gspca tree? In own revision 443 is in this file nasty bug.
this:
for (i = gspca_dev->cam.nmodes; --i >= 0; ) {
is not semantic identical with this:
for (i = gspca_dev->cam.nmodes; i >= 0; --i) {
This bug create "empty" format:
VIDIOC_ENUM_FMT(0,VIDEO_CAPTURE)
index : 0
type : VIDEO_CAPTURE
flags : 0
description : ""
pixelformat : 0x00000000 [....]
VIDIOC_ENUM_FMT(1,VIDEO_CAPTURE)
index : 1
type : VIDEO_CAPTURE
flags : 0
description : "BA81"
pixelformat : 0x31384142 [BA81]
and some programs crashed with this...
Could you please send my patch to gspca developers?
Thank. Lukas
gspca.patch
Description: Binary data
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________ M560x-driver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/m560x-driver-devel
