diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-09-22 13:56:48 +0200 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-09-29 14:33:01 +0200 |
commit | 26e8fa3b508eb047e85f4e923fc8e82a1aa656ba (patch) | |
tree | bd6e3328a040ea69de8d88ce2756306053c5a0b5 | |
parent | c9943f00cfa2471d1b8a3a9ddc7a21049a71090e (diff) | |
download | ffmpeg-26e8fa3b508eb047e85f4e923fc8e82a1aa656ba.tar.gz |
tiny_psnr: Use the correct abs() version
-rw-r--r-- | tests/tiny_psnr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tiny_psnr.c b/tests/tiny_psnr.c index 66eaf82895..d06baf6c94 100644 --- a/tests/tiny_psnr.c +++ b/tests/tiny_psnr.c @@ -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; |