diff options
-rw-r--r-- | v4l2-mfc-encoder/v4l_dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/v4l2-mfc-encoder/v4l_dev.c b/v4l2-mfc-encoder/v4l_dev.c index 7a062f2..f1b837e 100644 --- a/v4l2-mfc-encoder/v4l_dev.c +++ b/v4l2-mfc-encoder/v4l_dev.c @@ -179,7 +179,7 @@ int v4l_deq_buf(struct io_dev *dev, enum io_dir dir) /* enqueue buffer, start stream when needed */ int v4l_enq_buf(struct io_dev *dev, enum io_dir dir, int idx) { - struct v4l2_plane planes[MFC_MAX_PLANES]; + struct v4l2_plane planes[MFC_MAX_PLANES]={}; struct v4l2_buffer buf; int i; int ret; |