# HG changeset patch # User kabi # Date 1043785238 0 # Node ID 1d906a29afb6b338b2aa1571cb8fba8ae2f6433d # Parent 998d5035b15ba343466776020cbcc2e93ce6063f * headers valid for C++ compilers diff -r 998d5035b15b -r 1d906a29afb6 avcodec.h --- 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 */