summaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_ethread.h
diff options
context:
space:
mode:
Diffstat (limited to 'vp9/encoder/vp9_ethread.h')
-rw-r--r--vp9/encoder/vp9_ethread.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/vp9/encoder/vp9_ethread.h b/vp9/encoder/vp9_ethread.h
index e87c50bc7..1efa4dcde 100644
--- a/vp9/encoder/vp9_ethread.h
+++ b/vp9/encoder/vp9_ethread.h
@@ -11,6 +11,10 @@
#ifndef VP9_ENCODER_VP9_ETHREAD_H_
#define VP9_ENCODER_VP9_ETHREAD_H_
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct VP9_COMP;
struct ThreadData;
@@ -22,4 +26,8 @@ typedef struct EncWorkerData {
void vp9_encode_tiles_mt(struct VP9_COMP *cpi);
+#ifdef __cplusplus
+} // extern "C"
+#endif
+
#endif // VP9_ENCODER_VP9_ETHREAD_H_