shithub: libvpx

Download patch

ref: 848d6004a49408cd97e35f4b1aee5240f2324457
parent: fdb64ec289799aff8ece9d9e0dd8fa1ab7afbcec
parent: 8001c5c7a8bdf08daa34a6f612d07802fb6aab0b
author: Johann Koenig <[email protected]>
date: Wed Jan 31 09:25:13 EST 2018

Merge "Fix warning about bitwise 'not' on boolean"

--- a/vp9/common/vp9_loopfilter.c
+++ b/vp9/common/vp9_loopfilter.c
@@ -1174,7 +1174,7 @@
     }
 
     // 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(