[FFmpeg-devel] [PATCH 6/7] Move away x86 specific code from rgb2rgb part 2

Diego Biurrun diego
Wed Jan 19 10:59:43 CET 2011


On Wed, Jan 19, 2011 at 01:11:46AM +0100, Luca Barbato wrote:
> 
> --- a/libswscale/Makefile
> +++ b/libswscale/Makefile
> @@ -14,7 +14,8 @@ OBJS-$(ARCH_BFIN)          +=  bfin/internal_bfin.o     \
>  OBJS-$(CONFIG_MLIB)        +=  mlib/yuv2rgb_mlib.o
>  OBJS-$(HAVE_ALTIVEC)       +=  ppc/yuv2rgb_altivec.o
> -OBJS-$(HAVE_MMX)           +=  x86/yuv2rgb_mmx.o
> +OBJS-$(HAVE_MMX)           +=  x86/yuv2rgb_mmx.o \
> +                               x86/rgb2rgb.o

To order I call ye!

> --- a/libswscale/rgb2rgb.c
> +++ b/libswscale/rgb2rgb.c
> @@ -24,50 +24,11 @@
>   */
>  #include <inttypes.h>

Just stdint.h is enough, extra good karma for separating system and local
headers with a newline.

Diego



More information about the ffmpeg-devel mailing list