On 2012-10-12 16:18:13 +0200, Diego Biurrun wrote:
> ---
>  libavfilter/vf_gradfun.c |    2 +-
>  libavfilter/vf_yadif.c   |    2 +-
>  libavfilter/x86/Makefile |    5 +++--
>  3 files changed, 5 insertions(+), 4 deletions(-)
> 
> diff --git a/libavfilter/vf_gradfun.c b/libavfilter/vf_gradfun.c
> index 7fbcf1a..2ee8b5d 100644
> --- a/libavfilter/vf_gradfun.c
> +++ b/libavfilter/vf_gradfun.c
> @@ -135,7 +135,7 @@ static av_cold int init(AVFilterContext *ctx, const char 
> *args)
>      gf->blur_line = ff_gradfun_blur_line_c;
>      gf->filter_line = ff_gradfun_filter_line_c;
>  
> -    if (HAVE_MMX)
> +    if (ARCH_X86)
>          ff_gradfun_init_x86(gf);
>  
>      av_log(ctx, AV_LOG_VERBOSE, "threshold:%.2f radius:%d\n", thresh, 
> gf->radius);
> diff --git a/libavfilter/vf_yadif.c b/libavfilter/vf_yadif.c
> index 947aaac..1c605d9 100644
> --- a/libavfilter/vf_yadif.c
> +++ b/libavfilter/vf_yadif.c
> @@ -400,7 +400,7 @@ static av_cold int init(AVFilterContext *ctx, const char 
> *args)
>  
>      yadif->filter_line = filter_line_c;
>  
> -    if (HAVE_MMX)
> +    if (ARCH_X86)
>          ff_yadif_init_x86(yadif);
>  
>      av_log(ctx, AV_LOG_VERBOSE, "mode:%d parity:%d auto_enable:%d\n",
> diff --git a/libavfilter/x86/Makefile b/libavfilter/x86/Makefile
> index 46fc84f..4289f92 100644
> --- a/libavfilter/x86/Makefile
> +++ b/libavfilter/x86/Makefile
> @@ -1,3 +1,4 @@
> -MMX-OBJS-$(CONFIG_YADIF_FILTER)              += x86/yadif.o
> -MMX-OBJS-$(CONFIG_GRADFUN_FILTER)            += x86/gradfun.o
> +OBJS-$(CONFIG_GRADFUN_FILTER)                += x86/gradfun.o
> +OBJS-$(CONFIG_YADIF_FILTER)                  += x86/yadif.o
> +
>  YASM-OBJS-$(CONFIG_HQDN3D_FILTER)            += x86/hqdn3d.o

ok

Janne
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to