shithub: libvpx

Download patch

ref: af7b7ffb4e9869be0b074025846e88a056b499b4
parent: d70a8c09c6f383e1eb9c97ba433886dbeca4c631
parent: 45bac0c496c8a1baa6bf4f9158be74c5241f1542
author: Johann <johannkoenig@google.com>
date: Mon Dec 9 12:16:33 EST 2013

Merge "Add include guards to setupintrarecon.h and vpx_once.h"

--- a/vp8/common/setupintrarecon.h
+++ b/vp8/common/setupintrarecon.h
@@ -8,6 +8,8 @@
  *  be found in the AUTHORS file in the root of the source tree.
  */
 
+#ifndef SETUPINTRARECON_H
+#define SETUPINTRARECON_H
 
 #include "vpx_scale/yv12config.h"
 extern void vp8_setup_intra_recon(YV12_BUFFER_CONFIG *ybf);
@@ -31,3 +33,5 @@
     for (i = 0; i < 8; i++)
         v_buffer[uv_stride *i] = (unsigned char) 129;
 }
+
+#endif
--- a/vpx_ports/vpx_once.h
+++ b/vpx_ports/vpx_once.h
@@ -7,6 +7,10 @@
  *  in the file PATENTS.  All contributing project authors may
  *  be found in the AUTHORS file in the root of the source tree.
  */
+
+#ifndef VPX_ONCE_H
+#define VPX_ONCE_H
+
 #include "vpx_config.h"
 
 #if CONFIG_MULTITHREAD && defined(_WIN32)
@@ -94,4 +98,6 @@
         done = 1;
     }
 }
+#endif
+
 #endif