changeset 30231:f83934e1a950

Avoid redefinition of RGB_PLANAR2PACKED24 as the template is included for multiple times.
author zuxy
date Mon, 11 Jan 2010 08:21:31 +0000
parents 2de25e76d331
children 6a39197f519a
files libswscale/x86/yuv2rgb_template.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libswscale/x86/yuv2rgb_template.c	Mon Jan 11 07:30:28 2010 +0000
+++ b/libswscale/x86/yuv2rgb_template.c	Mon Jan 11 08:21:31 2010 +0000
@@ -295,6 +295,7 @@
     YUV2RGB_OPERANDS
 }
 
+#undef RGB_PLANAR2PACKED24
 #if HAVE_MMX2
 #define RGB_PLANAR2PACKED24(red, blue)\
         "movq "MANGLE(ff_M24A)", %%mm4     \n\t"\