From 0940c9cfdeb8f248e8422ddc5a7265fa2e9a693f Mon Sep 17 00:00:00 2001 From: James Zern Date: Sat, 18 Jan 2014 12:16:11 -0800 Subject: vp9/common: add extern "C" to headers Change-Id: Ic334da9aee968e33762c2b25d9fbad24c844b411 --- vp9/common/vp9_quant_common.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'vp9/common/vp9_quant_common.h') diff --git a/vp9/common/vp9_quant_common.h b/vp9/common/vp9_quant_common.h index 83f2fb655..af50e23cd 100644 --- a/vp9/common/vp9_quant_common.h +++ b/vp9/common/vp9_quant_common.h @@ -13,6 +13,10 @@ #include "vp9/common/vp9_blockd.h" +#ifdef __cplusplus +extern "C" { +#endif + #define MINQ 0 #define MAXQ 255 #define QINDEX_RANGE (MAXQ - MINQ + 1) @@ -25,4 +29,8 @@ int16_t vp9_ac_quant(int qindex, int delta); int vp9_get_qindex(struct segmentation *seg, int segment_id, int base_qindex); +#ifdef __cplusplus +} // extern "C" +#endif + #endif // VP9_COMMON_VP9_QUANT_COMMON_H_ -- cgit v1.2.3