Skip to content
Commit 4397efeb authored by Zhang Changzhong's avatar Zhang Changzhong Committed by Mauro Carvalho Chehab
Browse files

media: mtk-vcodec: fix error return code in vdec_vp9_decode()



Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.

Fixes: dea42fb7 ("media: mtk-vcodec: reset segment data then trig decoder")
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarZhang Changzhong <zhangchangzhong@huawei.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent d7a7d721
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment