]> granicus.if.org Git - libvpx/commitdiff
Added necessary includes
authorYaowu Xu <yaowu@google.com>
Fri, 18 Oct 2013 00:58:23 +0000 (17:58 -0700)
committerYaowu Xu <yaowu@google.com>
Fri, 18 Oct 2013 20:49:31 +0000 (13:49 -0700)
To avoid the dependency on the order of header files included.

Change-Id: Ic142638d75fe95e6aba41b11664bfa15f076f793

examples/decoder_tmpl.c
vpx/vp8.h

index 597fea200f954f054bc8e6b6d0d35c17bfc6ca7d..3e55352ea5d5bb5742160475e6b9d62b2a17f129 100644 (file)
 /*
 @*INTRODUCTION
  */
-#include "vpx_config.h"
+#include <stdarg.h>
 #include <stdio.h>
 #include <stdlib.h>
-#include <stdarg.h>
 #include <string.h>
 #define VPX_CODEC_DISABLE_COMPAT 1
-#include "vpx/vpx_decoder.h"
+#include "./vpx_config.h"
 #include "vpx/vp8dx.h"
+#include "vpx/vpx_decoder.h"
 #define interface (vpx_codec_vp8_dx())
 @EXTRA_INCLUDES
 
index ff71503284fdec6d7f66b8f1c78dda3f1226a345..57d3cae26bc1801078cd0dbac34f3ce61e3ed5eb 100644 (file)
--- a/vpx/vp8.h
+++ b/vpx/vp8.h
@@ -8,7 +8,6 @@
  *  be found in the AUTHORS file in the root of the source tree.
  */
 
-
 /*!\defgroup vp8 VP8
  * \ingroup codecs
  * VP8 is vpx's newest video compression algorithm that uses motion
@@ -31,6 +30,9 @@
 #ifndef VP8_H
 #define VP8_H
 
+#include "./vpx_codec.h"
+#include "./vpx_image.h"
+
 #ifdef __cplusplus
 extern "C" {
 #endif