summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2022-07-27 15:48:24 -0700
committerJames Zern <jzern@google.com>2022-07-27 16:59:21 -0700
commite533d989ea93ee6cd980cc07e077475733694687 (patch)
tree752b745944d944acfcc672ebbd292f160f8a8eae
parentaecf7ba51af515545d9f26ea9c66f347d6c40814 (diff)
downloadlibvpx-e533d989ea93ee6cd980cc07e077475733694687.tar
libvpx-e533d989ea93ee6cd980cc07e077475733694687.tar.gz
libvpx-e533d989ea93ee6cd980cc07e077475733694687.tar.bz2
libvpx-e533d989ea93ee6cd980cc07e077475733694687.zip
vp9_filter_block_plane_non420: fix implicit conversion warnings
w/clang -fsanitize=integer fixes warnings of the form: implicit conversion from type 'int' of value -2 (32-bit, signed) to type 'unsigned int' changed the value to 4294967294 (32-bit, unsigned) Bug: b/229626362 Change-Id: Id7e13b3d494ccd1a2351db8fab6fdb6a9a771d51
-rw-r--r--vp9/common/vp9_loopfilter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vp9/common/vp9_loopfilter.c b/vp9/common/vp9_loopfilter.c
index 95d6029f3..765cb1172 100644
--- a/vp9/common/vp9_loopfilter.c
+++ b/vp9/common/vp9_loopfilter.c
@@ -1180,7 +1180,7 @@ void vp9_filter_block_plane_non420(VP9_COMMON *cm,
}
// Disable filtering on the leftmost column
- border_mask = ~(mi_col == 0 ? 1 : 0);
+ border_mask = ~(mi_col == 0 ? 1u : 0u);
#if CONFIG_VP9_HIGHBITDEPTH
if (cm->use_highbitdepth) {
highbd_filter_selectively_vert(