Fix int-in-bool-context warning
Test: presubmit
Bug: 148287349
Change-Id: I339ba50154911cc00be5a2f9f4182ae3305733c9
diff --git a/encoder/ihevce_enc_loop_pass.c b/encoder/ihevce_enc_loop_pass.c
index c73c7ff..b1a8b71 100644
--- a/encoder/ihevce_enc_loop_pass.c
+++ b/encoder/ihevce_enc_loop_pass.c
@@ -3018,14 +3018,10 @@
ps_ctxt->pv_err_func_selector = ps_func_selector;
#endif
- /*Bit0 - of this Flag indicates whether current pictute needs to be deblocked,
- padded and hpel planes need to be generated.
- Bit1 - of this flag set to 1 if sao is enabled. This is to enable deblocking when sao is enabled*/
ps_ctxt->i4_deblk_pad_hpel_cur_pic =
- (ps_frm_recon->i4_deblk_pad_hpel_cur_pic) ||
- ((ps_ctxt->s_sao_ctxt_t.ps_slice_hdr->i1_slice_sao_luma_flag ||
- ps_ctxt->s_sao_ctxt_t.ps_slice_hdr->i1_slice_sao_chroma_flag)
- << 1);
+ ps_frm_recon->i4_deblk_pad_hpel_cur_pic ||
+ ps_ctxt->s_sao_ctxt_t.ps_slice_hdr->i1_slice_sao_luma_flag ||
+ ps_ctxt->s_sao_ctxt_t.ps_slice_hdr->i1_slice_sao_chroma_flag;
/* Share all reference pictures with nbr clients. This flag will be used only
in case of dist-enc mode */