Fix unused variable warning when compiling with MMX disabled.

Originally committed as revision 20021 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
This commit is contained in:
Diego Biurrun 2006-10-03 17:11:43 +00:00
parent c4e96ceef7
commit f8d6112850
1 changed files with 1 additions and 1 deletions

View File

@ -1035,8 +1035,8 @@ static inline void RENAME(yuv2packedX)(SwsContext *c, int16_t *lumFilter, int16_
int16_t *chrFilter, int16_t **chrSrc, int chrFilterSize, int16_t *chrFilter, int16_t **chrSrc, int chrFilterSize,
uint8_t *dest, long dstW, long dstY) uint8_t *dest, long dstW, long dstY)
{ {
long dummy=0;
#ifdef HAVE_MMX #ifdef HAVE_MMX
long dummy=0;
if(c->flags & SWS_ACCURATE_RND){ if(c->flags & SWS_ACCURATE_RND){
switch(c->dstFormat){ switch(c->dstFormat){
case PIX_FMT_RGB32: case PIX_FMT_RGB32: