linux/drivers/media/platform
Yunfei Dong ad8eb8ed0d media: mediatek: vcodec: fix h264 cavlc bitstream fail
[ Upstream commit d555409dd1 ]

Some cavlc bistream will decode fail when the frame size is less than
20 bytes. Need to add pending data at the end of the bitstream.

For the minimum size of mapped memory is 256 bytes(16x16), adding four
bytes data won't lead to access unknown virtual memory.

Fixes: 59fba9eed5 ("media: mediatek: vcodec: support stateless H.264 decoding for mt8192")
Signed-off-by: Yunfei Dong <yunfei.dong@mediatek.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-12-31 13:32:04 +01:00
..
allegro-dvt media: v4l: ioctl: Set bus_info in v4l_querycap() 2022-04-24 08:07:08 +01:00
amlogic media: platform: fix some double free in meson-ge2d and mtk-jpeg and s5p-mfc 2022-08-30 15:20:49 +02:00
amphion media: amphion: reset instance if it's aborted before codec header parsed 2022-12-31 13:32:03 +01:00
aspeed media: aspeed: Fix an error handling path in aspeed_video_probe() 2022-05-13 09:13:17 +02:00
atmel media: Replace dependency on VIDEO_V4L2_SUBDEV_API with select 2022-07-15 15:19:48 +01:00
cadence media: cadence: cdns-csi2tx: Use mipi-csi2.h 2022-05-13 11:02:20 +02:00
chips-media media: coda: jpeg: Add check for kmalloc 2022-12-31 13:32:03 +01:00
intel media: avoid use of 'videobuf' 2022-08-29 16:27:18 +02:00
marvell media: avoid use of 'videobuf' 2022-08-29 16:27:18 +02:00
mediatek media: mediatek: vcodec: fix h264 cavlc bitstream fail 2022-12-31 13:32:04 +01:00
nvidia media: tegra-vde: Use vb2_find_buffer 2022-07-17 11:12:21 +01:00
nxp media: v4l2-ctrls: drop 'elems' argument from control type ops. 2022-09-24 08:49:06 +02:00
qcom media: venus: hfi: Remove the unneeded result variable 2022-09-24 11:21:44 +02:00
renesas media fixes for v6.1-rc2 2022-10-22 15:30:15 -07:00
rockchip media: drivers: use video device pipeline start/stop 2022-09-24 09:14:20 +02:00
samsung media: mc: convert pipeline funcs to take media_pad 2022-09-24 09:22:30 +02:00
st media: drivers: use video device pipeline start/stop 2022-09-24 09:14:20 +02:00
sunxi media: sun6i-csi: Move csi buffer definition to main header file 2022-09-24 11:21:46 +02:00
ti media: drivers: use video_device_pipeline_alloc_start() 2022-09-24 09:16:36 +02:00
verisilicon media: hantro: Allows luma and chroma depth to be different 2022-09-24 09:01:15 +02:00
via media: Kconfig: cleanup VIDEO_DEV dependencies 2022-03-18 05:58:35 +01:00
xilinx media: drivers: use video_device_pipeline() 2022-09-24 09:14:59 +02:00
Kconfig media: destage Hantro VPU driver 2022-08-31 10:23:50 +02:00
m2m-deinterlace.c
Makefile media: destage Hantro VPU driver 2022-08-31 10:23:50 +02:00
video-mux.c media: mc-entity: Rename media_entity_remote_pad() to media_pad_remote_pad_first() 2022-07-17 11:21:35 +01:00