This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/v4l-utils.git tree:

Subject: v4lgrab: fix compiler warning.
Author:  Hans Verkuil <[email protected]>
Date:    Fri Aug 17 10:12:40 2012 +0200

Signed-off-by: Hans Verkuil <[email protected]>

 contrib/test/v4lgrab.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

---

http://git.linuxtv.org/v4l-utils.git?a=commitdiff;h=e30c817235445165621c736f9072c7920d44340f

diff --git a/contrib/test/v4lgrab.c b/contrib/test/v4lgrab.c
index 7c2621e..43f2216 100644
--- a/contrib/test/v4lgrab.c
+++ b/contrib/test/v4lgrab.c
@@ -83,6 +83,7 @@
        }                                                               \
 }
 
+#ifdef CONFIG_VIDEO_V4L1_COMPAT
 static int get_brightness_adj(unsigned char *image, long size, int *brightness)
 {
        long i, tot = 0;
@@ -91,6 +92,7 @@ static int get_brightness_adj(unsigned char *image, long 
size, int *brightness)
        *brightness = (128 - tot/(size*3))/3;
        return !((tot/(size*3)) >= 126 && (tot/(size*3)) <= 130);
 }
+#endif
 
 int main(int argc, char **argv)
 {

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to