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

Subject: v4l-helpers.h: one more incomplete initializer.
Author:  Hans Verkuil <[email protected]>
Date:    Fri Nov 27 16:59:04 2015 +0100

There was one more instance of an incomplete initializer. Fix this.

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

 utils/v4l2-compliance/v4l-helpers.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

---

http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=c18e798aedf324b5ffcbf119ae86d800df65d4fa

diff --git a/utils/v4l2-compliance/v4l-helpers.h 
b/utils/v4l2-compliance/v4l-helpers.h
index 4bf8cad..e530724 100644
--- a/utils/v4l2-compliance/v4l-helpers.h
+++ b/utils/v4l2-compliance/v4l-helpers.h
@@ -1642,7 +1642,7 @@ static inline int v4l_g_ext_ctrls(v4l_fd *f, struct 
v4l2_ext_controls *ec)
        if (ec->count == 0)
                return 0;
        for (i = 0; i < ec->count; i++) {
-               struct v4l2_control c = { ec->controls[i].id };
+               struct v4l2_control c = { ec->controls[i].id, 0 };
                int ret = v4l_ioctl(f, VIDIOC_G_CTRL, &c);
 
                if (ret) {

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

Reply via email to