summaryrefslogtreecommitdiff
path: root/vp8/common/invtrans.h
diff options
context:
space:
mode:
Diffstat (limited to 'vp8/common/invtrans.h')
-rw-r--r--vp8/common/invtrans.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/vp8/common/invtrans.h b/vp8/common/invtrans.h
index 0186e6b3b..affe57e3d 100644
--- a/vp8/common/invtrans.h
+++ b/vp8/common/invtrans.h
@@ -21,6 +21,10 @@
#include "vpx_mem/vpx_mem.h"
#endif
+#ifdef __cplusplus
+extern "C" {
+#endif
+
static void eob_adjust(char *eobs, short *diff)
{
/* eob adjust.... the idct can only skip if both the dc and eob are zero */
@@ -59,4 +63,8 @@ static void vp8_inverse_transform_mby(MACROBLOCKD *xd)
xd->dst.y_buffer,
xd->dst.y_stride, xd->eobs);
}
+#ifdef __cplusplus
+} // extern "C"
+#endif
+
#endif // VP8_COMMON_INVTRANS_H_