shithub: libvpx

Download patch

ref: b905dab377219f21eb542147d2cc6e928351f307
parent: dd54f0babdfbb79cfa9c2941cd06389da7b20419
author: Yaowu Xu <yaowu@google.com>
date: Thu Oct 17 13:58:23 EDT 2013

Added necessary includes

To avoid the dependency on the order of header files included.

Change-Id: Ic142638d75fe95e6aba41b11664bfa15f076f793

--- a/examples/decoder_tmpl.c
+++ b/examples/decoder_tmpl.c
@@ -12,14 +12,14 @@
 /*
 @*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
 
--- 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
@@ -30,6 +29,9 @@
  */
 #ifndef VP8_H
 #define VP8_H
+
+#include "./vpx_codec.h"
+#include "./vpx_image.h"
 
 #ifdef __cplusplus
 extern "C" {