From 63617797b40c443aef9e85544c0ef280dc0174a2 Mon Sep 17 00:00:00 2001 From: Maxime Ripard Date: Fri, 20 Apr 2018 10:40:20 +0200 Subject: [PATCH] picture: fix typo in controls type Signed-off-by: Maxime Ripard --- src/picture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/picture.c b/src/picture.c index b7fb8d2..f7c7002 100644 --- a/src/picture.c +++ b/src/picture.c @@ -185,7 +185,7 @@ VAStatus sunxi_cedrus_EndPicture(VADriverContextP ctx, VAContextID context) memset(plane, 0, sizeof(struct v4l2_plane)); memset(planes, 0, 2 * sizeof(struct v4l2_plane)); memset(&ctrl, 0, sizeof(struct v4l2_ext_control)); - memset(&ctrls, 0, sizeof(struct v4l2_ext_control)); + memset(&ctrls, 0, sizeof(struct v4l2_ext_controls)); memset(&(out_buf), 0, sizeof(out_buf)); out_buf.type = V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE;