From 8001c5c7a8bdf08daa34a6f612d07802fb6aab0b Mon Sep 17 00:00:00 2001 From: Johann Date: Tue, 9 Jan 2018 12:46:45 -0800 Subject: [PATCH] Fix warning about bitwise 'not' on boolean cherry-picked from libaom: commit cf26ee5ad2b9da79fa68c33b7d22ff53c66d6509 Author: Sebastien Alaiwan Date: Wed, 4 Oct 2017 10:09:13 +0200 BUG=webm:1491 Change-Id: I36c6e83ed716649f3d9ee10ce3aa9bb847cac2d9 --- vp9/common/vp9_loopfilter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vp9/common/vp9_loopfilter.c b/vp9/common/vp9_loopfilter.c index c7c343aed..da9180b71 100644 --- a/vp9/common/vp9_loopfilter.c +++ b/vp9/common/vp9_loopfilter.c @@ -1174,7 +1174,7 @@ void vp9_filter_block_plane_non420(VP9_COMMON *cm, } // Disable filtering on the leftmost column - border_mask = ~(mi_col == 0); + border_mask = ~(mi_col == 0 ? 1 : 0); #if CONFIG_VP9_HIGHBITDEPTH if (cm->use_highbitdepth) { highbd_filter_selectively_vert( -- 2.40.0