summaryrefslogtreecommitdiffstats
path: root/recipes/opencv/opencv/debian/110_dc1394.diff
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/opencv/opencv/debian/110_dc1394.diff')
-rw-r--r--recipes/opencv/opencv/debian/110_dc1394.diff21
1 files changed, 21 insertions, 0 deletions
diff --git a/recipes/opencv/opencv/debian/110_dc1394.diff b/recipes/opencv/opencv/debian/110_dc1394.diff
new file mode 100644
index 0000000000..23a7284a9c
--- /dev/null
+++ b/recipes/opencv/opencv/debian/110_dc1394.diff
@@ -0,0 +1,21 @@
+Index: opencv-1.0.0/otherlibs/highgui/cvcap_dc1394.cpp
+===================================================================
+--- opencv-1.0.0.orig/otherlibs/highgui/cvcap_dc1394.cpp 2006-11-14 16:21:10.000000000 +0100
++++ opencv-1.0.0/otherlibs/highgui/cvcap_dc1394.cpp 2006-11-14 16:23:25.000000000 +0100
+@@ -680,6 +680,7 @@
+ return f;
+ }
+ }
++ return 0;
+ }
+
+ static int
+@@ -793,7 +794,7 @@
+
+ // now check if the auto is on.
+ if( dc1394_is_feature_auto(capture->handle, capture->camera->node, feature_id, &isAutoOn ) == DC1394_FAILURE ) {
+- fprintf(stderr, "error determining if feature %d has auto on!\n", index);
++ fprintf(stderr, "error determining if feature %d has auto on!\n", feature_id);
+ return 0;
+ }
+ }