From fbf05759e38f075305667e2019d535f4e757c6e2 Mon Sep 17 00:00:00 2001 From: Lukasz Marek Date: Wed, 9 Apr 2014 22:25:43 +0200 Subject: [PATCH] sws: fix warning about RGB_PACK24_B_OPERANDS redefinition Signed-off-by: Lukasz Marek Signed-off-by: Michael Niedermayer --- libswscale/x86/yuv2rgb_template.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libswscale/x86/yuv2rgb_template.c b/libswscale/x86/yuv2rgb_template.c index b3225a4a53..2ff97e22e1 100644 --- a/libswscale/x86/yuv2rgb_template.c +++ b/libswscale/x86/yuv2rgb_template.c @@ -140,8 +140,10 @@ "js 1b\n\t" \ #if COMPILE_TEMPLATE_MMXEXT +#undef RGB_PACK24_B_OPERANDS #define RGB_PACK24_B_OPERANDS NAMED_CONSTRAINTS_ADD(mask1101,mask0110,mask0100,mask0010,mask1001) #else +#undef RGB_PACK24_B_OPERANDS #define RGB_PACK24_B_OPERANDS #endif