mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
tiny_psnr: Use the correct abs() version
This commit is contained in:
parent
c9943f00cf
commit
26e8fa3b50
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user