Skip to content
Snippets Groups Projects
Commit 26e8fa3b authored by Vittorio Giovara's avatar Vittorio Giovara
Browse files

tiny_psnr: Use the correct abs() version

parent c9943f00
No related branches found
No related tags found
No related merge requests found
......@@ -208,7 +208,7 @@ int main(int argc, char *argv[])
b = buf[1][j];
}
sse += (a - b) * (a - b);
dist = abs(a - b);
dist = llabs(a - b);
if (dist > maxdist)
maxdist = dist;
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment