]> git.sesse.net Git - ffmpeg/commit
avcodec/v4l2_m2m_dec: Init reserved bytes to zero before ioctl call
authorAndriy Gelman <andriy.gelman@gmail.com>
Sun, 8 Mar 2020 15:49:47 +0000 (11:49 -0400)
committerAndriy Gelman <andriy.gelman@gmail.com>
Wed, 1 Apr 2020 03:41:37 +0000 (23:41 -0400)
commitb343eca8d5b9546f6d630736938825707f58e6c6
tree196bd363c7c07a3002e62605d11d7376395af715
parent7464a260983182a1603a8a5923fac0a0f0e17b5f
avcodec/v4l2_m2m_dec: Init reserved bytes to zero before ioctl call

struct v4l2_selection contains reserved bytes which should be set to
zero before the ioctl call.

Fixes valgrind error:
Syscall param ioctl(VKI_V4L2_S_SELECTION) points to uninitialised byte(s)

Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
libavcodec/v4l2_m2m_dec.c