[libbluray-devel] Missing extern "C" in overlay.h

Richard Hulme git at videolan.org
Fri Jun 12 22:03:08 CEST 2015


libbluray | branch: master | Richard Hulme <peper03 at mythtv.org> | Fri Jun 12 23:02:17 2015 +0300| [84365f7fbaa59330cae954ca6ffdbd71cbab6388] | committer: hpi1

Missing extern "C" in overlay.h

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=84365f7fbaa59330cae954ca6ffdbd71cbab6388
---

 src/libbluray/decoders/overlay.h |    8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/libbluray/decoders/overlay.h b/src/libbluray/decoders/overlay.h
index 6a31218..7daa478 100644
--- a/src/libbluray/decoders/overlay.h
+++ b/src/libbluray/decoders/overlay.h
@@ -20,6 +20,10 @@
 #ifndef BD_OVERLAY_H_
 #define BD_OVERLAY_H_
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #include <stdint.h>
 
 #define BD_OVERLAY_INTERFACE_VERSION 2
@@ -199,4 +203,8 @@ typedef struct bd_argb_buffer_s {
 
 } BD_ARGB_BUFFER;
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif // BD_OVERLAY_H_



More information about the libbluray-devel mailing list