summaryrefslogtreecommitdiff
path: root/vp8/encoder/boolhuff.h
diff options
context:
space:
mode:
Diffstat (limited to 'vp8/encoder/boolhuff.h')
-rw-r--r--vp8/encoder/boolhuff.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/vp8/encoder/boolhuff.h b/vp8/encoder/boolhuff.h
index 8f451b7f0..611421575 100644
--- a/vp8/encoder/boolhuff.h
+++ b/vp8/encoder/boolhuff.h
@@ -22,6 +22,10 @@
#include "vpx_ports/mem.h"
#include "vpx/internal/vpx_codec_internal.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef struct
{
unsigned int lowvalue;
@@ -125,4 +129,8 @@ static void vp8_encode_bool(BOOL_CODER *br, int bit, int probability)
br->range = range;
}
+#ifdef __cplusplus
+} // extern "C"
+#endif
+
#endif // VP8_ENCODER_BOOLHUFF_H_