diff options
author | Zdenek Kabelac <kabi@informatics.muni.cz> | 2003-01-28 20:20:38 +0000 |
---|---|---|
committer | Zdenek Kabelac <kabi@informatics.muni.cz> | 2003-01-28 20:20:38 +0000 |
commit | 02d697aa5f1afb7d74fee87183d56b9c8764da7c (patch) | |
tree | d58007a1e3bc002a481e08a3c26d1a7ef4483c4b /libavcodec | |
parent | a8721c0930361f66f79fd35eb673fc45ae5b1b07 (diff) | |
download | ffmpeg-02d697aa5f1afb7d74fee87183d56b9c8764da7c.tar.gz |
* headers valid for C++ compilers
Originally committed as revision 1521 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/avcodec.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index e2252f4c99..6ee2b84cdf 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -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_free_static(void); 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 */ |