linux/drivers/media/v4l2-core
Dong Chuanjian ece8818968 media: drivers/media/v4l2-core/v4l2-h264 : add detection of null pointers
[ Upstream commit be3ae7cf43 ]

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

[hverkuil: fix two checkpatch warnings]

Signed-off-by: Dong Chuanjian <chuanjian@nfschina.com>
Acked-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Fixes: d3f756ad62 ("media: v4l2: Trace calculated p/b0/b1 initial reflist")
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-10 09:33:44 +01:00
..
Kconfig
Makefile
tuner-core.c i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
v4l2-async.c
v4l2-common.c media: v4l: move helper functions for fractions from uvc to v4l2-common 2022-09-22 15:52:30 +02:00
v4l2-compat-ioctl32.c media: v4l2-compat-ioctl32.c: zero buffer passed to v4l2_compat_get_array_args() 2022-09-27 10:24:43 +02:00
v4l2-ctrls-api.c media: v4l2-ctrls-api.c: move ctrl->is_new = 1 to the correct line 2023-02-09 11:28:01 +01:00
v4l2-ctrls-core.c media: v4l2-ctrls: Fix off-by-one error in integer menu control check 2022-12-31 13:32:03 +01:00
v4l2-ctrls-defs.c
v4l2-ctrls-priv.h
v4l2-ctrls-request.c
v4l2-dev.c media: mc: convert pipeline funcs to take media_pad 2022-09-24 09:22:30 +02:00
v4l2-device.c
v4l2-dv-timings.c media: v4l2-dv-timings.c: fix too strict blanking sanity checks 2022-11-23 12:02:30 +00:00
v4l2-event.c
v4l2-fh.c
v4l2-flash-led-class.c media: v4l2-flash: Fix comment typo 2022-08-29 15:32:14 +02:00
v4l2-fwnode.c
v4l2-h264.c media: drivers/media/v4l2-core/v4l2-h264 : add detection of null pointers 2023-03-10 09:33:44 +01:00
v4l2-i2c.c
v4l2-ioctl.c media: v4l2-ioctl.c: Unify YCbCr/YUV terms in format descriptions 2022-12-31 13:32:04 +01:00
v4l2-jpeg.c media: v4l2-jpeg: ignore the unknown APP14 marker 2023-03-10 09:33:43 +01:00
v4l2-mc.c
v4l2-mem2mem.c media: media/v4l2-mem2mem.h: rename 'videobuf' to 'vb2' 2022-08-29 15:47:03 +02:00
v4l2-spi.c
v4l2-subdev.c
v4l2-trace.c
v4l2-vp9.c
videobuf-core.c
videobuf-dma-contig.c media: videobuf-dma-contig: use dma_mmap_coherent 2022-12-31 13:32:13 +01:00
videobuf-dma-sg.c
videobuf-vmalloc.c