summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 7b1c825..00857f6 100644
--- a/main.c
+++ b/main.c
@@ -58,7 +58,7 @@ int main(int argc, char *argv[])
char *function = NULL;
char *cap_device = "/dev/video1";
struct uvc_function_config *fc;
- struct uvc_stream *stream;
+ struct uvc_stream *stream = NULL;
struct video_source *src = NULL;
struct events events;
int ret = 0;