summaryrefslogtreecommitdiff
path: root/vpxenc.h
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2014-01-18 12:16:11 -0800
committerJames Zern <jzern@google.com>2014-01-23 19:42:59 -0800
commit25cfd8e8c4f845d5c29435c934c8ba329f3aa7ba (patch)
tree998b777facf6df75237b0e3d380d89b9e06df6e2 /vpxenc.h
parenta5d23f547a4ae7a0a5b17c0a22f196b5fff6584f (diff)
downloadlibvpx-25cfd8e8c4f845d5c29435c934c8ba329f3aa7ba.tar
libvpx-25cfd8e8c4f845d5c29435c934c8ba329f3aa7ba.tar.gz
libvpx-25cfd8e8c4f845d5c29435c934c8ba329f3aa7ba.tar.bz2
libvpx-25cfd8e8c4f845d5c29435c934c8ba329f3aa7ba.zip
top-level: add extern "C" to headers
Change-Id: I5164df72aff84eca0ace56032c5373f04053c6a5
Diffstat (limited to 'vpxenc.h')
-rw-r--r--vpxenc.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/vpxenc.h b/vpxenc.h
index 5cb3f853a..5103ee65a 100644
--- a/vpxenc.h
+++ b/vpxenc.h
@@ -12,6 +12,10 @@
#include "vpx/vpx_encoder.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
enum TestDecodeFatality {
TEST_DECODE_OFF,
TEST_DECODE_FATAL,
@@ -42,4 +46,8 @@ struct VpxEncoderConfig {
int disable_warning_prompt;
};
+#ifdef __cplusplus
+} // extern "C"
+#endif
+
#endif // VPXENC_H_