Commit bc43061b authored by Ming Qian's avatar Ming Qian Committed by Greg Kroah-Hartman
Browse files

media: amphion: drop repeated codec data for vc1l format



[ Upstream commit 668ee1a3 ]

For format V4L2_PIX_FMT_VC1_ANNEX_L,
the codec data is replaced with startcode,
and then driver drop it, otherwise it may led to decoding error.

It's amphion vpu's limitation

Driver has dropped the first codec data,
but need to drop the repeated codec data too.

Fixes: e670f5d6 ("media: amphion: only insert the first sequence startcode for vc1l format")
Signed-off-by: default avatarMing Qian <ming.qian@nxp.com>
Tested-by: default avatarxiahong.bao <xiahong.bao@nxp.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent a8af55f7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment