sws: fix warning about RGB_PACK24_B_OPERANDS redefinition
authorLukasz Marek <lukasz.m.luki2@gmail.com>
Wed, 9 Apr 2014 20:25:43 +0000 (22:25 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 10 Apr 2014 00:07:07 +0000 (02:07 +0200)
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libswscale/x86/yuv2rgb_template.c

index b3225a4a5310371c7c50e48bb93f45a8bd21160d..2ff97e22e15e137aa1c52dfed52d30ccd31ade06 100644 (file)
     "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