diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2015-09-29 15:44:28 +0200 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2015-09-29 15:44:28 +0200 |
commit | fc97b1f091ff38210699b2e5819c94e4f4ebd1fa (patch) | |
tree | 764bf7fb0e960b81d28e97117e0628c92379579e /tests | |
parent | f35c4ede9e0e360143a5b81adbbbec23f37fdce2 (diff) | |
parent | 26e8fa3b508eb047e85f4e923fc8e82a1aa656ba (diff) | |
download | ffmpeg-fc97b1f091ff38210699b2e5819c94e4f4ebd1fa.tar.gz |
Merge commit '26e8fa3b508eb047e85f4e923fc8e82a1aa656ba'
* commit '26e8fa3b508eb047e85f4e923fc8e82a1aa656ba':
tiny_psnr: Use the correct abs() version
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
Diffstat (limited to 'tests')
-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 5f791c168b..338845e7a0 100644 --- a/tests/tiny_psnr.c +++ b/tests/tiny_psnr.c @@ -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; |