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

> @@ -344,12 +196,12 @@ void ff_h264dsp_init_x86(H264DSPContext *c, const int 
> bit_depth, const int chrom
>  {
>      int mm_flags = av_get_cpu_flags();
>  
> +#if HAVE_YASM
>      if (chroma_format_idc == 1 && mm_flags & AV_CPU_FLAG_MMX2) {
> -        c->h264_loop_filter_strength= h264_loop_filter_strength_mmx2;
> +        c->h264_loop_filter_strength = ff_h264_loop_filter_strength_mmx2;
>      }
>  
>      if (bit_depth == 8) {
> -#if HAVE_YASM
>      if (mm_flags & AV_CPU_FLAG_MMX) {
>          c->h264_idct_dc_add         =
>          c->h264_idct_add            = ff_h264_idct_add_8_mmx;
> @@ -510,6 +362,6 @@ void ff_h264dsp_init_x86(H264DSPContext *c, const int 
> bit_depth, const int chrom
>  #endif /* HAVE_AVX */
>          }
>      }
> -#endif
>      }
> +#endif
>  }

This broke builds without yasm.

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

Reply via email to