Zhang Changzhong 4397efebf0 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: dea42fb79f4f ("media: mtk-vcodec: reset segment data then trig decoder")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zhang Changzhong <zhangchangzhong@huawei.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2021-01-12 18:12:51 +01:00
..
2020-12-01 16:21:40 +01:00
2019-06-11 12:09:28 -04:00
2020-12-01 16:21:40 +01:00
2019-06-11 12:09:28 -04:00
2019-06-11 12:09:28 -04:00
2019-06-11 12:09:28 -04:00
2019-06-11 12:09:28 -04:00
2019-06-11 12:09:28 -04:00