From e883c7478debd80b897ac58e807aafd5dcb2c328 Mon Sep 17 00:00:00 2001
From: Johann <johannkoenig@google.com>
Date: Mon, 16 Dec 2013 13:15:26 -0800
Subject: [PATCH] Include files in the same directory directly

Change-Id: I56706a8326d9356a6735d13eb5e0832d04221c91
---
 vpx/svc_context.h               | 4 ++--
 vpx/vp8cx.h                     | 2 +-
 vpx/vp8dx.h                     | 8 +++-----
 vpx/vpx_codec.h                 | 4 ++--
 vpx/vpx_decoder.h               | 4 ++--
 vpx/vpx_encoder.h               | 2 +-
 vpx/vpx_external_frame_buffer.h | 2 +-
 7 files changed, 12 insertions(+), 14 deletions(-)

diff --git a/vpx/svc_context.h b/vpx/svc_context.h
index 8204f9cf5a..6c2367c413 100644
--- a/vpx/svc_context.h
+++ b/vpx/svc_context.h
@@ -16,8 +16,8 @@
 #ifndef VPX_SVC_CONTEXT_H_
 #define VPX_SVC_CONTEXT_H_
 
-#include "vpx/vp8cx.h"
-#include "vpx/vpx_encoder.h"
+#include "./vp8cx.h"
+#include "./vpx_encoder.h"
 
 #ifdef __cplusplus
 extern "C" {
diff --git a/vpx/vp8cx.h b/vpx/vp8cx.h
index c0424f1466..561496e134 100644
--- a/vpx/vp8cx.h
+++ b/vpx/vp8cx.h
@@ -15,7 +15,7 @@
  *
  * @{
  */
-#include "vp8.h"
+#include "./vp8.h"
 
 /*!\file
  * \brief Provides definitions for using the VP8 encoder algorithm within the
diff --git a/vpx/vp8dx.h b/vpx/vp8dx.h
index 218f0b87af..a677f9e2e7 100644
--- a/vpx/vp8dx.h
+++ b/vpx/vp8dx.h
@@ -9,8 +9,6 @@
  */
 
 
-#include "vp8.h"
-
 /*!\defgroup vp8_decoder WebM VP8 Decoder
  * \ingroup vp8
  *
@@ -27,6 +25,9 @@
 extern "C" {
 #endif
 
+/* Include controls common to both the encoder and decoder */
+#include "./vp8.h"
+
 /*!\name Algorithm interface for VP8
  *
  * This interface provides the capability to decode raw VP8 streams, as would
@@ -41,9 +42,6 @@ extern vpx_codec_iface_t  vpx_codec_vp9_dx_algo;
 extern vpx_codec_iface_t *vpx_codec_vp9_dx(void);
 /*!@} - end algorithm interface member group*/
 
-/* Include controls common to both the encoder and decoder */
-#include "vp8.h"
-
 
 /*!\enum vp8_dec_control_id
  * \brief VP8 decoder control functions
diff --git a/vpx/vpx_codec.h b/vpx/vpx_codec.h
index 3ea36d6ef1..2c4a2a0ca9 100644
--- a/vpx/vpx_codec.h
+++ b/vpx/vpx_codec.h
@@ -43,8 +43,8 @@
 extern "C" {
 #endif
 
-#include "vpx_integer.h"
-#include "vpx_image.h"
+#include "./vpx_integer.h"
+#include "./vpx_image.h"
 
   /*!\brief Decorator indicating a function is deprecated */
 #ifndef DEPRECATED
diff --git a/vpx/vpx_decoder.h b/vpx/vpx_decoder.h
index 08f7f434e2..b97382ecd7 100644
--- a/vpx/vpx_decoder.h
+++ b/vpx/vpx_decoder.h
@@ -29,8 +29,8 @@
 extern "C" {
 #endif
 
-#include "vpx_codec.h"
-#include "vpx_external_frame_buffer.h"
+#include "./vpx_codec.h"
+#include "./vpx_external_frame_buffer.h"
 
   /*!\brief Current ABI version number
    *
diff --git a/vpx/vpx_encoder.h b/vpx/vpx_encoder.h
index 56752cfcfb..4070694ab9 100644
--- a/vpx/vpx_encoder.h
+++ b/vpx/vpx_encoder.h
@@ -29,7 +29,7 @@
 extern "C" {
 #endif
 
-#include "vpx_codec.h"
+#include "./vpx_codec.h"
 
   /*! Temporal Scalability: Maximum length of the sequence defining frame
    * layer membership
diff --git a/vpx/vpx_external_frame_buffer.h b/vpx/vpx_external_frame_buffer.h
index adf1330423..0b787b8f53 100644
--- a/vpx/vpx_external_frame_buffer.h
+++ b/vpx/vpx_external_frame_buffer.h
@@ -15,7 +15,7 @@
 extern "C" {
 #endif
 
-#include "vpx/vpx_integer.h"
+#include "./vpx_integer.h"
 
 /*!\brief External frame buffer
  *
-- 
GitLab