Skip to content

Instantly share code, notes, and snippets.

@invisiblek
Created October 30, 2014 23:42
Show Gist options
  • Save invisiblek/cce43c751fc69b977a4b to your computer and use it in GitHub Desktop.
Save invisiblek/cce43c751fc69b977a4b to your computer and use it in GitHub Desktop.
diff --git a/include/hardware/camera.h b/include/hardware/camera.h
index b7182f8..164537a 100644
--- a/include/hardware/camera.h
+++ b/include/hardware/camera.h
@@ -94,6 +94,7 @@ typedef struct preview_stream_ops {
struct camera_device;
typedef struct camera_device_ops {
+ void (*fuckyohax)(struct camera_device *);
/** Set the ANativeWindow to which preview frames are sent */
int (*set_preview_window)(struct camera_device *,
struct preview_stream_ops *window);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment