Mercurial > libavcodec.hg
diff avcodec.h @ 5012:3769553b95a2 libavcodec
Remove extern C declarations for C++.
FFmpeg is pure C and not all public headers have the declarations.
author | diego |
---|---|
date | Wed, 16 May 2007 12:25:54 +0000 |
parents | 4d0e94e001e1 |
children | a19b508f78d7 |
line wrap: on
line diff
--- a/avcodec.h Wed May 16 10:50:18 2007 +0000 +++ b/avcodec.h Wed May 16 12:25:54 2007 +0000 @@ -27,10 +27,6 @@ */ -#ifdef __cplusplus -extern "C" { -#endif - #include "avutil.h" #include <sys/types.h> /* size_t */ @@ -3152,8 +3148,4 @@ #define AVERROR_NOTSUPP AVERROR(ENOSYS) /**< Operation not supported. */ #define AVERROR_NOENT AVERROR(ENOENT) /**< No such file or directory. */ -#ifdef __cplusplus -} -#endif - #endif /* AVCODEC_H */