WSL2-Linux-Kernel/drivers/media/platform/mtk-vcodec
Irui Wang cbb8f7097e media: mediatek: vcodec: Return NULL if no vdec_fb is found
[ Upstream commit dfa2d6e074 ]

"fb_use_list" is used to store used or referenced frame buffers for
vp9 stateful decoder. "NULL" should be returned when getting target
frame buffer failed from "fb_use_list", not a random unexpected one.

Fixes: f77e89854b ("[media] vcodec: mediatek: Add Mediatek VP9 Video Decoder Driver")
Signed-off-by: Irui Wang <irui.wang@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-09-19 12:22:44 +02:00
..
vdec media: mediatek: vcodec: Return NULL if no vdec_fb is found 2023-09-19 12:22:44 +02:00
venc media: mtk-vcodec: Support MT8192 H264 4K encoding 2021-06-17 10:12:41 +02:00
Makefile
mtk_vcodec_dec.c
mtk_vcodec_dec.h
mtk_vcodec_dec_drv.c media: mtk-vcodec: fix PM runtime get logic 2021-05-10 11:36:34 +02:00
mtk_vcodec_dec_pm.c media: mtk-vcodec: fix PM runtime get logic 2021-05-10 11:36:34 +02:00
mtk_vcodec_dec_pm.h media: mtk-vcodec: fix PM runtime get logic 2021-05-10 11:36:34 +02:00
mtk_vcodec_drv.h media: mtk-vcodec: fix kerneldoc warnings 2021-06-17 10:25:59 +02:00
mtk_vcodec_enc.c media: vcodec: Fix potential array out-of-bounds in encoder queue_setup 2023-08-30 16:18:18 +02:00
mtk_vcodec_enc.h
mtk_vcodec_enc_drv.c media: mtk-vcodec: call v4l2_m2m_ctx_release first when file is released 2022-01-27 11:03:20 +01:00
mtk_vcodec_enc_pm.c media: mtk-vcodec: Separating mtk encoder driver 2021-04-06 16:06:52 +02:00
mtk_vcodec_enc_pm.h
mtk_vcodec_fw.c
mtk_vcodec_fw.h
mtk_vcodec_fw_priv.h
mtk_vcodec_fw_scp.c
mtk_vcodec_fw_vpu.c media: mtk-vcodec: potential dereference of null pointer 2022-04-08 14:23:13 +02:00
mtk_vcodec_intr.c
mtk_vcodec_intr.h
mtk_vcodec_util.c
mtk_vcodec_util.h
vdec_drv_base.h
vdec_drv_if.c
vdec_drv_if.h media: mtk-vcodec: fix kernel-doc warnings 2021-03-22 12:59:16 +01:00
vdec_ipi_msg.h media: mtk-vcodec: fix kerneldoc warnings 2021-06-17 10:25:59 +02:00
vdec_vpu_if.c
vdec_vpu_if.h
venc_drv_base.h
venc_drv_if.c
venc_drv_if.h
venc_ipi_msg.h media: mtk-vcodec: fix kerneldoc warnings 2021-06-17 10:25:59 +02:00
venc_vpu_if.c
venc_vpu_if.h