On 4/11/13 2:41 AM, Diego Biurrun wrote:
> ---
>  libavcodec/x86/dsputil_mmx.c |    2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/libavcodec/x86/dsputil_mmx.c b/libavcodec/x86/dsputil_mmx.c
> index f991bbe..b781b10 100644
> --- a/libavcodec/x86/dsputil_mmx.c
> +++ b/libavcodec/x86/dsputil_mmx.c
> @@ -57,7 +57,6 @@ DECLARE_ALIGNED(16, const double, ff_pd_1)[2] = { 1.0, 1.0 
> };
>  DECLARE_ALIGNED(16, const double, ff_pd_2)[2] = { 2.0, 2.0 };
>  
>  
> -#if HAVE_YASM
>  void ff_put_pixels8_x2_mmxext(uint8_t *block, const uint8_t *pixels,
>                                ptrdiff_t line_size, int h);
>  void ff_put_pixels8_x2_3dnow(uint8_t *block, const uint8_t *pixels,
> @@ -153,7 +152,6 @@ void ff_put_no_rnd_mpeg4_qpel8_v_lowpass_mmxext(uint8_t 
> *dst, uint8_t *src,
>                                                  int dstStride, int 
> srcStride);
>  #define ff_put_no_rnd_pixels16_mmxext ff_put_pixels16_mmxext
>  #define ff_put_no_rnd_pixels8_mmxext ff_put_pixels8_mmxext
> -#endif /* HAVE_YASM */
>  

Ok, I'm not sure if those ifdef aren't a better way to mark yasm
supported function, but better 2 lines less from that monster.

lu

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

Reply via email to