ffmpeg | branch: master | Vittorio Giovara <vittorio.giov...@gmail.com> | Tue Sep 22 13:56:48 2015 +0200| [26e8fa3b508eb047e85f4e923fc8e82a1aa656ba] | committer: Vittorio Giovara
tiny_psnr: Use the correct abs() version > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=26e8fa3b508eb047e85f4e923fc8e82a1aa656ba --- tests/tiny_psnr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tiny_psnr.c b/tests/tiny_psnr.c index 66eaf82..d06baf6 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; _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog