Commit 1ca18115 authored by diego's avatar diego

Move preprocessor condition before variable declaration, fixes the warning:

libswscale/swscale.c:1795: warning: unused variable 'flags'


git-svn-id: file:///var/local/repositories/mplayer/trunk/libswscale@29287 b3059339-0415-0410-9bf9-f77b7e298cf2
parent 8a8e779f
......@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment