summaryrefslogtreecommitdiff
path: root/vp8/encoder/firstpass.h
diff options
context:
space:
mode:
Diffstat (limited to 'vp8/encoder/firstpass.h')
-rw-r--r--vp8/encoder/firstpass.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/vp8/encoder/firstpass.h b/vp8/encoder/firstpass.h
index cf686793c..c409ebca8 100644
--- a/vp8/encoder/firstpass.h
+++ b/vp8/encoder/firstpass.h
@@ -12,6 +12,10 @@
#ifndef VP8_ENCODER_FIRSTPASS_H_
#define VP8_ENCODER_FIRSTPASS_H_
+#ifdef __cplusplus
+extern "C" {
+#endif
+
extern void vp8_init_first_pass(VP8_COMP *cpi);
extern void vp8_first_pass(VP8_COMP *cpi);
extern void vp8_end_first_pass(VP8_COMP *cpi);
@@ -21,4 +25,8 @@ extern void vp8_second_pass(VP8_COMP *cpi);
extern void vp8_end_second_pass(VP8_COMP *cpi);
extern size_t vp8_firstpass_stats_sz(unsigned int mb_count);
+#ifdef __cplusplus
+} // extern "C"
+#endif
+
#endif // VP8_ENCODER_FIRSTPASS_H_