From 05e7ba682d5761b05a9b212ef84775068fbc94e3 Mon Sep 17 00:00:00 2001 From: iOSDevLog Date: Sun, 19 Jul 2020 04:51:55 +0000 Subject: [PATCH] comment unuse code --- src/example.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/example.c b/src/example.c index 7cacb34c..2e6feb9c 100644 --- a/src/example.c +++ b/src/example.c @@ -7,12 +7,11 @@ * input queue. If this function takes too long, you'll start losing frames. */ void cb(uvc_frame_t *frame, void *ptr) { uvc_frame_t *bgr; - uvc_frame_t *rgb; uvc_error_t ret; enum uvc_frame_format *frame_format = (enum uvc_frame_format *)ptr; - FILE *fp; - static int jpeg_count = 0; - /* static const char *H264_FILE = "iOSDevLog.h264"; + /* FILE *fp; + * static int jpeg_count = 0; + * static const char *H264_FILE = "iOSDevLog.h264"; * static const char *MJPEG_FILE = ".jpeg"; * char filename[16]; */