From: Johann Date: Tue, 9 Jan 2018 20:46:45 +0000 (-0800) Subject: Fix warning about bitwise 'not' on boolean X-Git-Tag: v1.8.0~856^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8001c5c7a8bdf08daa34a6f612d07802fb6aab0b;p=libvpx 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 --- 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(