# HG changeset patch # User diego # Date 1179318354 0 # Node ID 3769553b95a2c6a0685172e335078eac2c918c12 # Parent 03aa103464d498888ca5b7a9441efc3928242f1c Remove extern C declarations for C++. FFmpeg is pure C and not all public headers have the declarations. diff -r 03aa103464d4 -r 3769553b95a2 avcodec.h --- 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 /* 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 */