Skip to content
Commit be3ae7cf authored by Dong Chuanjian's avatar Dong Chuanjian Committed by Mauro Carvalho Chehab
Browse files

media: drivers/media/v4l2-core/v4l2-h264 : add detection of null pointers



When the pointer variable is judged to be null, null is returned
directly.

[hverkuil: fix two checkpatch warnings]

Signed-off-by: default avatarDong Chuanjian <chuanjian@nfschina.com>
Acked-by: default avatarNicolas Dufresne <nicolas.dufresne@collabora.com>
Fixes: d3f756ad ("media: v4l2: Trace calculated p/b0/b1 initial reflist")
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
parent c9ca3b53
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment