diff avcodec.h @ 1041:1d906a29afb6 libavcodec

* headers valid for C++ compilers
author kabi
date Tue, 28 Jan 2003 20:20:38 +0000
parents 19de1445beb2
children 75a659fae7e0
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 */