[MPlayer-dev-eng] [PATCH] Fix for ARM compilation failure when IWMMXT support is disabled

Diego Biurrun diego at biurrun.de
Mon Apr 28 00:43:14 CEST 2008


On Mon, Apr 28, 2008 at 12:44:42AM +0300, Siarhei Siamashka wrote:
> 
> --- libmpeg2/motion_comp.c	(revision 26548)
> +++ libmpeg2/motion_comp.c	(working copy)
> @@ -62,9 +62,12 @@
>  #ifdef ARCH_ARM
> +#ifdef HAVE_IWMMXT
>      if (accel & MPEG2_ACCEL_ARM_IWMMXT)
>  	mpeg2_mc = mpeg2_mc_iwmmxt;
> -    else if (accel & MPEG2_ACCEL_ARM)
> +    else
> +#endif
> +    if (accel & MPEG2_ACCEL_ARM)
>  	mpeg2_mc = mpeg2_mc_arm;
>      else
>  #endif

Hmm, I think this is wrong.  Why is MPEG2_ACCEL_ARM_IWMMXT defined if
IWMMXT is not available?

Diego



More information about the MPlayer-dev-eng mailing list