aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-05-10 11:37:04 +0000
committerDiego Biurrun <diego@biurrun.de>2009-05-10 11:37:04 +0000
commit465477e1fb9540e44aa3eab0ea6d18f62ccb648b (patch)
tree5266ec6a432a7321280a65249afe6ed408548cdc /libswscale
parentb69017af874c9e2c2249b94fa2cbefdbf7c43684 (diff)
downloadffmpeg-465477e1fb9540e44aa3eab0ea6d18f62ccb648b.tar.gz
Move preprocessor condition before variable declaration, fixes the warning:
libswscale/swscale.c:1795: warning: unused variable 'flags' Originally committed as revision 29287 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale')
-rw-r--r--libswscale/swscale.c2
1 files changed, 1 insertions, 1 deletions
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) {