projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b69017a
)
Move preprocessor condition before variable declaration, fixes the warning:
author
Diego Biurrun
<diego@biurrun.de>
Sun, 10 May 2009 11:37:04 +0000
(11:37 +0000)
committer
Diego Biurrun
<diego@biurrun.de>
Sun, 10 May 2009 11:37:04 +0000
(11:37 +0000)
libswscale/swscale.c:1795: warning: unused variable 'flags'
Originally committed as revision 29287 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
libswscale/swscale.c
patch
|
blob
|
history
diff --git
a/libswscale/swscale.c
b/libswscale/swscale.c
index
a0954ad
..
d8f4b0b
100644
(file)
--- 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) {