Skip to contentSkip to conversation

cpia.c (2.4.9-ac)

PATCH New Michael Marxmeier 1 participant 1 message Sep 25, 2001

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cpia.c (2.4.9-ac)

My CPIA based camera ceased working with 2.4.9-ac9. The patch below corrects a small thinko (still present with ac15).

cpia.c renamed from cpia.c.orig +1 -1
@@ -2871,7 +2871,7 @@
 
 		/* set video size */
 		video_size = match_videosize(vm.width, vm.height);
-		if (cam->video_size < 0) {
+		if (video_size < 0) {
 			retval = -EINVAL;
 			break;
 		}

Michael

Signature · 4 lines
Michael Marxmeier           Marxmeier Software AG
E-Mail: [email protected]  Besenbruchstrasse 9
Phone : +49 202 2431440     42285 Wuppertal, Germany
Fax   : +49 202 2431420     http://www.marxmeier.com/