Avoid redefinition of RGB_PLANAR2PACKED24 as the template is included for

multiple times.

Originally committed as revision 30273 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
This commit is contained in:
Zuxy Meng 2010-01-11 08:21:31 +00:00
parent 996de2fefa
commit 52c0fcaf52
1 changed files with 1 additions and 0 deletions

View File

@ -295,6 +295,7 @@ static inline int RENAME(yuv420_rgb15)(SwsContext *c, uint8_t* src[], int srcStr
YUV2RGB_OPERANDS
}
#undef RGB_PLANAR2PACKED24
#if HAVE_MMX2
#define RGB_PLANAR2PACKED24(red, blue)\
"movq "MANGLE(ff_M24A)", %%mm4 \n\t"\