On Sat, May 23, 2015 at 11:17 AM, Luca Barbato <[email protected]> wrote:
> Drops a warning from clang
> ---
>  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;
> --

seems fine
-- 
Vittorio
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to