From: Bruno Martins Date: Fri, 20 Oct 2023 14:19:42 +0000 (+0100) Subject: frame_provider: decoder: h264: Fix bitwise-instead-of-logical error X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8c766803df8904dc2057d1450b497fea818372ca;p=GitHub%2FLineageOS%2FG12%2Fandroid_hardware_amlogic_kernel-modules_media.git frame_provider: decoder: h264: Fix bitwise-instead-of-logical error Change-Id: Ifd479eb8f12f40be5a6d64a25609129f68b0a4d3 --- diff --git a/drivers/frame_provider/decoder/h264/vh264.c b/drivers/frame_provider/decoder/h264/vh264.c index 03a1dba..0ab4120 100644 --- a/drivers/frame_provider/decoder/h264/vh264.c +++ b/drivers/frame_provider/decoder/h264/vh264.c @@ -3145,8 +3145,8 @@ static void vh264_isr(void) high_bandwidth |= ((codec_mm_get_total_size() < 80 * SZ_1M) - & ((READ_VREG(AV_SCRATCH_N) & 0xf) == 3) - & ((frame_width * frame_height) >= 1920*1080)); + && ((READ_VREG(AV_SCRATCH_N) & 0xf) == 3) + && ((frame_width * frame_height) >= 1920*1080)); if (high_bandwidth) vf->flag |= VFRAME_FLAG_HIGH_BANDWIDTH;