]> granicus.if.org Git - libvpx/commit
Fix a strict-overflow warning
authorLinfeng Zhang <linfengz@google.com>
Thu, 22 Mar 2018 01:00:40 +0000 (18:00 -0700)
committerLinfeng Zhang <linfengz@google.com>
Thu, 22 Mar 2018 18:42:25 +0000 (11:42 -0700)
commit5192ce92b80a2553f70b264579714d27bb4c36f6
tree426f4229ef239274308ce656a34f0de97e9a0cba
parenta09acf7e198bdc946f56d174d266dff0bfa56560
Fix a strict-overflow warning

Compiler -- gcc (Debian 7.3.0-5) 7.3.0

./libvpx/vp9/encoder/vp9_denoiser.c:374:9: assuming signed overflow
does not occur when assuming that (X + c) < X is always false
[-Wstrict-overflow]
         for (j = 0; j < xmis; j++) {

Change-Id: Ib7397e718ff717bdabc088fc4c6e1771381fb522
vp9/encoder/vp9_denoiser.c