summaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_write_bit_buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'vp9/encoder/vp9_write_bit_buffer.h')
-rw-r--r--vp9/encoder/vp9_write_bit_buffer.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/vp9/encoder/vp9_write_bit_buffer.h b/vp9/encoder/vp9_write_bit_buffer.h
index dfed90370..5958b4806 100644
--- a/vp9/encoder/vp9_write_bit_buffer.h
+++ b/vp9/encoder/vp9_write_bit_buffer.h
@@ -15,6 +15,10 @@
#include "vpx/vpx_integer.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct vp9_write_bit_buffer {
uint8_t *bit_buffer;
size_t bit_offset;
@@ -45,4 +49,8 @@ static void vp9_wb_write_literal(struct vp9_write_bit_buffer *wb,
}
+#ifdef __cplusplus
+} // extern "C"
+#endif
+
#endif // VP9_ENCODER_VP9_WRITE_BIT_BUFFER_H_