summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/libvpx/source/libvpx/vp8/common/mv.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/libvpx/source/libvpx/vp8/common/mv.h')
-rw-r--r--chromium/third_party/libvpx/source/libvpx/vp8/common/mv.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/chromium/third_party/libvpx/source/libvpx/vp8/common/mv.h b/chromium/third_party/libvpx/source/libvpx/vp8/common/mv.h
index b3f919db2bd..111ccd63c72 100644
--- a/chromium/third_party/libvpx/source/libvpx/vp8/common/mv.h
+++ b/chromium/third_party/libvpx/source/libvpx/vp8/common/mv.h
@@ -9,10 +9,14 @@
*/
-#ifndef __INC_MV_H
-#define __INC_MV_H
+#ifndef VP8_COMMON_MV_H_
+#define VP8_COMMON_MV_H_
#include "vpx/vpx_integer.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef struct
{
short row;
@@ -25,4 +29,8 @@ typedef union int_mv
MV as_mv;
} int_mv; /* facilitates faster equality tests and copies */
+#ifdef __cplusplus
+} // extern "C"
#endif
+
+#endif // VP8_COMMON_MV_H_