Commit fc97b1f0 authored by Hendrik Leppkes's avatar Hendrik Leppkes

Merge commit '26e8fa3b'

* commit '26e8fa3b':
  tiny_psnr: Use the correct abs() version
Merged-by: 's avatarHendrik Leppkes <h.leppkes@gmail.com>
parents f35c4ede 26e8fa3b
......@@ -190,7 +190,7 @@ static int run_psnr(FILE *f[2], int len, int shift, int skip_bytes)
b = buf[1][j];
}
sse += (a - b) * (a - b);
dist = abs(a - b);
dist = llabs(a - b);
if (dist > maxdist)
maxdist = dist;
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment