Browse Source

tiny_psnr: Use the correct abs() version

tags/n3.0
Vittorio Giovara 9 years ago
parent
commit
26e8fa3b50
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tests/tiny_psnr.c

+ 1
- 1
tests/tiny_psnr.c View File

@@ -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…
Cancel
Save