]> granicus.if.org Git - libvpx/commitdiff
Fix warnings.
authorChristian Duvivier <cduvivier@google.com>
Tue, 14 Aug 2012 21:12:00 +0000 (14:12 -0700)
committerChristian Duvivier <cduvivier@google.com>
Tue, 14 Aug 2012 23:23:32 +0000 (16:23 -0700)
Change-Id: I4b911e4173da30c164bde7ea50bc80a70fbbb745

configure
examples/decoder_tmpl.c
vp8/common/predict_rotated.c
vp8/common/treecoder.c
vpx_mem/vpx_mem.h
vpx_ports/asm_offsets.h
vpxenc.c

index b39ddb2b86a7583fddf83a755eae0af233c78797..6af0d6cac277ce2385afd740781a0d0b1a376dc7 100755 (executable)
--- a/configure
+++ b/configure
@@ -226,6 +226,7 @@ EXPERIMENT_LIST="
     switchable_interp
     tx16x16
     newbestrefmv
+    rotation
 "
 CONFIG_LIST="
     external_build
index 8194f0ade368c298042d51e02c615d1b16b5be73..597fea200f954f054bc8e6b6d0d35c17bfc6ca7d 100644 (file)
@@ -12,6 +12,7 @@
 /*
 @*INTRODUCTION
  */
+#include "vpx_config.h"
 #include <stdio.h>
 #include <stdlib.h>
 #include <stdarg.h>
index 29ef65cea1a8a3b7a57fe3b6a6f76aed972a89d5..1401896174814856e974fe1c9b1c2ea02edf00b3 100644 (file)
@@ -8,6 +8,8 @@
  *  be found in the AUTHORS file in the root of the source tree.
  */
 
+#include "vpx_config.h"
+
 #if CONFIG_ROTATION
 typedef struct {
   int y;
index 5c182d4dd0262a8730700ac96e954c12d0819706..def4caa0470804dbd2db571b78238cc4680c49c9 100644 (file)
@@ -11,7 +11,7 @@
 
 #include "vpx_config.h"
 
-#if CONFIG_DEBUG
+#if defined(CONFIG_DEBUG) && CONFIG_DEBUG
 #include <assert.h>
 #endif
 #include <stdio.h>
index 6ee5f5d7e841e52b9b603f254ea0f7437b3f4e21..3246e92984a305dc4da6d842a6cf41bb3973db8a 100644 (file)
@@ -12,6 +12,7 @@
 #ifndef __VPX_MEM_H__
 #define __VPX_MEM_H__
 
+#include "vpx_config.h"
 #if defined(__uClinux__)
 # include <lddk.h>
 #endif
index 05da24f2beffd6276dbc6b9f68e67fc7b5361365..6752463b216155b3fff3eb2102e8d56a6aa524bb 100644 (file)
@@ -18,7 +18,7 @@
   static void assert_##name(void) UNUSED;\
   static void assert_##name(void) {switch(0){case 0:case !!(cond):;}}
 
-#if INLINE_ASM
+#if defined(INLINE_ASM) && INLINE_ASM
 #define DEFINE(sym, val) asm("\n" #sym " EQU %0" : : "i" (val));
 #define BEGIN int main(void) {
 #define END return 0; }
index 5667abe1c6f9bec25a30c1c0cb055f02405e4f3b..26c52d51c54994600d2423445f3ec0ed4b9e6629 100644 (file)
--- a/vpxenc.c
+++ b/vpxenc.c
@@ -8,6 +8,7 @@
  *  be found in the AUTHORS file in the root of the source tree.
  */
 
+#include "vpx_config.h"
 
 /* This is a simple program that encodes YV12 files and generates ivf
  * files using the new interface.