summaryrefslogtreecommitdiff
path: root/certs/blacklist_nohashes.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2019-01-25 13:40:04 -0200
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-01-31 09:32:05 -0200
commit560c053deb94ff65b22a87f28e8e2fab5940555c (patch)
tree7a80b3118cd2997947c4eda38931b06386af6a19 /certs/blacklist_nohashes.c
parent1284ed59a147c27cb882e49213571f7d52976eb5 (diff)
media: vivid: fix vid_out_buf_prepare()
The wrong size check was performed for output formats like NV24 which set vfmt->buffers to 1, but vfmt->planes is 2. It was incorrectly checking the payload size for plane 1, which doesn't exist. Note: vfmt->buffers refers to the number of per-plane-buffers that should be allocated. vfmt->planes refers to the number of planes that make up an image. vfmt->planes may be > vfmt->buffers. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'certs/blacklist_nohashes.c')
0 files changed, 0 insertions, 0 deletions