[SCM] libav/experimental: Fix unused variable warning when compiling with MMX disabled.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:51:43 UTC 2013


The following commit has been merged in the experimental branch:
commit f8d611285025cae8c933dc1228a2b1db5de5cf85
Author: Diego Biurrun <diego at biurrun.de>
Date:   Tue Oct 3 17:11:43 2006 +0000

    Fix unused variable warning when compiling with MMX disabled.
    
    Originally committed as revision 20021 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

diff --git a/libswscale/swscale_template.c b/libswscale/swscale_template.c
index c73364f..1711f45 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:

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list