From 859c7ee1e39df213cbb78786fd62f2a6cdf98114 Mon Sep 17 00:00:00 2001 From: diego Date: Sun, 10 May 2009 11:37:04 +0000 Subject: Move preprocessor condition before variable declaration, fixes the warning: libswscale/swscale.c:1795: warning: unused variable 'flags' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29287 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libswscale/swscale.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libswscale/swscale.c b/libswscale/swscale.c index a0954ad845..d8f4b0b67d 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -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) { -- cgit v1.2.3