Fix unsigned integer overflow in sse computation
authorCheng Chen <chengchen@google.com>
Mon, 30 Jan 2023 19:51:58 +0000 (11:51 -0800)
committerCheng Chen <chengchen@google.com>
Mon, 30 Jan 2023 23:02:22 +0000 (23:02 +0000)
commita94cdd57ffd95ee7beb48d2794dae538f25da46c
treef7d07a8763439916853787cc9d56e1db42247733
parent7a8ba7ea0286888b4462349504932edc42823e0e
Fix unsigned integer overflow in sse computation

Basically port the fix from libaom:
https://aomedia-review.googlesource.com/c/aom/+/169361

Change-Id: Id06a5db91372037832399200ded75d514e096726
vpx_dsp/psnr.c