From f8d611285025cae8c933dc1228a2b1db5de5cf85 Mon Sep 17 00:00:00 2001
From: Diego Biurrun <diego@biurrun.de>
Date: Tue, 3 Oct 2006 17:11:43 +0000
Subject: [PATCH] Fix unused variable warning when compiling with MMX disabled.

Originally committed as revision 20021 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
---
 libswscale/swscale_template.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libswscale/swscale_template.c b/libswscale/swscale_template.c
index c73364fa507..1711f45b065 100644
--- a/libswscale/swscale_template.c
+++ b/libswscale/swscale_template.c
@@ -1035,8 +1035,8 @@ static inline void RENAME(yuv2packedX)(SwsContext *c, int16_t *lumFilter, int16_
 				    int16_t *chrFilter, int16_t **chrSrc, int chrFilterSize,
 			    uint8_t *dest, long dstW, long dstY)
 {
-	long dummy=0;
 #ifdef HAVE_MMX
+    long dummy=0;
     if(c->flags & SWS_ACCURATE_RND){
                 switch(c->dstFormat){
                 case PIX_FMT_RGB32:
-- 
GitLab