drivers/video: fix typo

Wrong buf used

Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
This commit is contained in:
Peter Bee 2022-12-20 15:14:43 +08:00 committed by Xiang Xiao
parent 9f537d7a3f
commit 2b11fd585f
1 changed files with 1 additions and 1 deletions

View File

@ -1276,7 +1276,7 @@ static int video_qbuf(FAR struct video_mng_s *vmng,
container->buf.length = get_bufsize(&type_inf->fmt[VIDEO_FMT_MAIN]); container->buf.length = get_bufsize(&type_inf->fmt[VIDEO_FMT_MAIN]);
container->buf.m.userptr = (unsigned long)(type_inf->bufheap + container->buf.m.userptr = (unsigned long)(type_inf->bufheap +
buf->length * buf->index); container->buf.length * buf->index);
} }
video_framebuff_queue_container(&type_inf->bufinf, container); video_framebuff_queue_container(&type_inf->bufinf, container);