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: v4l2-ctl: declare hdr variable as const Author: Dafna Hirschfeld <daf...@gmail.com> Date: Sat Mar 30 14:33:39 2019 -0700 declare the hdr param with 'const' in functions that use fwht header in order to set the fwht stateless params. Signed-off-by: Dafna Hirschfeld <daf...@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-ci...@xs4all.nl> utils/v4l2-ctl/v4l2-ctl-streaming.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=e76fa6d06686e53e98069afc0bcf215fbbfb664a diff --git a/utils/v4l2-ctl/v4l2-ctl-streaming.cpp b/utils/v4l2-ctl/v4l2-ctl-streaming.cpp index 85f97722c691..28bc8c6872ef 100644 --- a/utils/v4l2-ctl/v4l2-ctl-streaming.cpp +++ b/utils/v4l2-ctl/v4l2-ctl-streaming.cpp @@ -837,7 +837,7 @@ static int alloc_fwht_req(int media_fd, unsigned index) return 0; } -static void set_fwht_req_by_idx(unsigned idx, struct fwht_cframe_hdr *hdr, +static void set_fwht_req_by_idx(unsigned idx, const struct fwht_cframe_hdr *hdr, __u64 last_bf_ts, __u64 ts) { struct v4l2_ctrl_fwht_params fwht_params; @@ -857,7 +857,7 @@ static int get_fwht_req_by_ts(__u64 ts) return -1; } -static bool set_fwht_req_by_fd(struct fwht_cframe_hdr *hdr, +static bool set_fwht_req_by_fd(const struct fwht_cframe_hdr *hdr, int req_fd, __u64 last_bf_ts, __u64 ts) { struct v4l2_ctrl_fwht_params fwht_params; @@ -874,7 +874,7 @@ static bool set_fwht_req_by_fd(struct fwht_cframe_hdr *hdr, return false; } -static int set_fwht_ext_ctrl(cv4l_fd &fd, struct fwht_cframe_hdr *hdr, +static int set_fwht_ext_ctrl(cv4l_fd &fd, const struct fwht_cframe_hdr *hdr, __u64 last_bf_ts, int req_fd) { v4l2_ext_controls controls; _______________________________________________ linuxtv-commits mailing list linuxtv-commits@linuxtv.org https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits