changeset 1041:1d906a29afb6 libavcodec

* headers valid for C++ compilers
author kabi
date Tue, 28 Jan 2003 20:20:38 +0000
parents 998d5035b15b
children a78f6f72d54e
files avcodec.h
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/avcodec.h	Tue Jan 28 14:50:26 2003 +0000
+++ b/avcodec.h	Tue Jan 28 20:20:38 2003 +0000
@@ -1,6 +1,10 @@
 #ifndef AVCODEC_H
 #define AVCODEC_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #include "common.h"
 
 #define LIBAVCODEC_VERSION_INT 0x000406
@@ -1245,4 +1249,8 @@
 void *__av_mallocz_static(void** location, unsigned int size);
 #define av_mallocz_static(p, s) __av_mallocz_static((void **)(p), s)
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* AVCODEC_H */