drivers/video: fix typo
Wrong buf used Signed-off-by: Peter Bee <bijunda1@xiaomi.com>
This commit is contained in:
parent
9f537d7a3f
commit
2b11fd585f
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue