summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMarcus Meissner <marcus@jet.franken.de>2019-01-20 17:34:53 +0100
committerMarcus Meissner <marcus@jet.franken.de>2019-01-20 17:34:53 +0100
commit9ae48976c52e3da5f04b3be863d09edd50d97ed7 (patch)
tree61b22a4cd14a2053c35fd2eaa16b9bae92537ae0 /examples
parent2799307539fa788fd2be27c28ee763e1bbea3a67 (diff)
downloadlibgphoto2-9ae48976c52e3da5f04b3be863d09edd50d97ed7.tar.gz
disable capture fuzzing
Diffstat (limited to 'examples')
-rw-r--r--examples/sample-afl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/sample-afl.c b/examples/sample-afl.c
index c6e8f0527..15bb86ca5 100644
--- a/examples/sample-afl.c
+++ b/examples/sample-afl.c
@@ -217,11 +217,14 @@ int main(int argc, char **argv) {
}
gp_file_free (file);
+#if 0
+ /* this gives endless event check loops occasionaly ... need review how to do this best */
ret = gp_camera_capture (camera, GP_CAPTURE_IMAGE, &path, context);
if ((ret != GP_OK) && (ret != GP_ERROR_NOT_SUPPORTED)) {
printf ("Could not capture preview.\n");
goto out;
}
+#endif
/* AFL PART ENDS HERE */
out: