summaryrefslogtreecommitdiff
path: root/yavta.c
diff options
context:
space:
mode:
Diffstat (limited to 'yavta.c')
-rw-r--r--yavta.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/yavta.c b/yavta.c
index 930645d..7d8ac8e 100644
--- a/yavta.c
+++ b/yavta.c
@@ -965,6 +965,8 @@ static int video_queue_buffer(struct device *dev, int index, enum buffer_fill_mo
unsigned int i;
memset(&buf, 0, sizeof buf);
+ memset(&planes, 0, sizeof planes);
+
buf.index = index;
buf.type = dev->type;
buf.memory = dev->memtype;