mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
media: vicodec: check for valid format in v4l2_fwht_en/decode
These functions did not return an error if state->info was NULL or an unsupported pixelformat was selected (should not happen, but just to be on the safe side). Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
This commit is contained in:
parent
0113c50f42
commit
d61b3b4101
2 changed files with 13 additions and 9 deletions
Loading…
Add table
Add a link
Reference in a new issue