[FFmpeg-cvslog] r29287 - trunk/libswscale/swscale.c

diego subversion
Sun May 10 13:37:05 CEST 2009


Author: diego
Date: Sun May 10 13:37:04 2009
New Revision: 29287

Log:
Move preprocessor condition before variable declaration, fixes the warning:
libswscale/swscale.c:1795: warning: unused variable 'flags'

Modified:
   trunk/libswscale/swscale.c

Modified: trunk/libswscale/swscale.c
==============================================================================
--- trunk/libswscale/swscale.c	Sat May  9 23:37:07 2009	(r29286)
+++ trunk/libswscale/swscale.c	Sun May 10 13:37:04 2009	(r29287)
@@ -1792,9 +1792,9 @@ static void globalInit(void){
 
 static SwsFunc getSwsFunc(SwsContext *c)
 {
+#if CONFIG_RUNTIME_CPUDETECT && CONFIG_GPL
     int flags = c->flags;
 
-#if CONFIG_RUNTIME_CPUDETECT && CONFIG_GPL
 #if ARCH_X86
     // ordered per speed fastest first
     if (flags & SWS_CPU_CAPS_MMX2) {



More information about the ffmpeg-cvslog mailing list