summaryrefslogtreecommitdiff
path: root/y4menc.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 /y4menc.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 'y4menc.h')
-rw-r--r--y4menc.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/y4menc.h b/y4menc.h
index e5f7978a7..95f7909b1 100644
--- a/y4menc.h
+++ b/y4menc.h
@@ -17,6 +17,10 @@
#include "vpx/vpx_decoder.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
void y4m_write_file_header(FILE *file, int width, int height,
const struct VpxRational *framerate,
vpx_img_fmt_t fmt);
@@ -24,4 +28,8 @@ void y4m_write_file_header(FILE *file, int width, int height,
void y4m_write_frame_header(FILE *file);
+#ifdef __cplusplus
+} // extern "C"
+#endif
+
#endif // Y4MENC_H_