"Ronald S. Bultje" <[email protected]> writes:

> ---
>  libavcodec/x86/pngdsp-init.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/libavcodec/x86/pngdsp-init.c b/libavcodec/x86/pngdsp-init.c
> index 6545236..dfae9b3 100644
> --- a/libavcodec/x86/pngdsp-init.c
> +++ b/libavcodec/x86/pngdsp-init.c
> @@ -130,6 +130,6 @@ void ff_pngdsp_init_x86(PNGDSPContext *dsp)
>          dsp->add_bytes_l2         = add_bytes_l2_mmx;
>      if (flags & AV_CPU_FLAG_MMX2)
>          dsp->add_paeth_prediction = add_png_paeth_prediction_mmx2;
> -    if (flags & AV_CPU_FLAG_SSSE3)
> +    if (HAVE_SSSE3 && flags & AV_CPU_FLAG_SSSE3)

Doesn't this give a warning from gcc about missing training wheels^W^W
parentheses?

-- 
Måns Rullgård
[email protected]
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to