Delete the call to vpu_helper_find_format() in the
vdec_check_source_change() function, due to the commit
18d582f58b43 ("media: amphion: tell and handle contiguous
and non contiguous format") back port, this part of the
code has not been deleted.

Signed-off-by: Xiaolei Wang <[email protected]>
---
 drivers/media/platform/amphion/vdec.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/media/platform/amphion/vdec.c 
b/drivers/media/platform/amphion/vdec.c
index 7a00c4110388..8004dcd48edd 100644
--- a/drivers/media/platform/amphion/vdec.c
+++ b/drivers/media/platform/amphion/vdec.c
@@ -797,7 +797,6 @@ static bool vdec_check_source_change(struct vpu_inst *inst)
 
        if (!vb2_is_streaming(v4l2_m2m_get_dst_vq(inst->fh.m2m_ctx)))
                return true;
-       fmt = vpu_helper_find_format(inst, inst->cap_format.type, 
vdec->codec_info.pixfmt);
        if (inst->cap_format.pixfmt != vdec->codec_info.pixfmt)
                return true;
        if (inst->cap_format.width != vdec->codec_info.decoded_width)
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#12459): 
https://lists.yoctoproject.org/g/linux-yocto/message/12459
Mute This Topic: https://lists.yoctoproject.org/mt/98701840/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to