Browse Source

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
tags/v0.6
Diego Biurrun 17 years ago
parent
commit
465477e1fb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libswscale/swscale.c

+ 1
- 1
libswscale/swscale.c View File

@@ -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) {


Loading…
Cancel
Save