diff options
author | Diego Biurrun <diego@biurrun.de> | 2007-05-16 12:25:54 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2007-05-16 12:25:54 +0000 |
commit | 605315248cb59d9c4213c7035175b6e930d3b66e (patch) | |
tree | 50bcbed1bb3b79681ed78efd12a5f37784e1fe8d | |
parent | 31d89e1158612481885f4d635edd819cca4792cf (diff) | |
download | ffmpeg-605315248cb59d9c4213c7035175b6e930d3b66e.tar.gz |
Remove extern C declarations for C++.
FFmpeg is pure C and not all public headers have the declarations.
Originally committed as revision 9037 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/avcodec.h | 8 | ||||
-rw-r--r-- | libavformat/avformat.h | 8 | ||||
-rw-r--r-- | libavutil/avutil.h | 8 | ||||
-rw-r--r-- | libpostproc/postprocess.h | 8 |
4 files changed, 0 insertions, 32 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 844945cb77..95b26a7a3d 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -27,10 +27,6 @@ */ -#ifdef __cplusplus -extern "C" { -#endif - #include "avutil.h" #include <sys/types.h> /* size_t */ @@ -3152,8 +3148,4 @@ extern unsigned int av_xiphlacing(unsigned char *s, unsigned int v); #define AVERROR_NOTSUPP AVERROR(ENOSYS) /**< Operation not supported. */ #define AVERROR_NOENT AVERROR(ENOENT) /**< No such file or directory. */ -#ifdef __cplusplus -} -#endif - #endif /* AVCODEC_H */ diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 1e8028cdcd..d63966662e 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -21,10 +21,6 @@ #ifndef AVFORMAT_H #define AVFORMAT_H -#ifdef __cplusplus -extern "C" { -#endif - #define LIBAVFORMAT_VERSION_INT ((51<<16)+(12<<8)+1) #define LIBAVFORMAT_VERSION 51.12.1 #define LIBAVFORMAT_BUILD LIBAVFORMAT_VERSION_INT @@ -889,9 +885,5 @@ int match_ext(const char *filename, const char *extensions); #endif /* HAVE_AV_CONFIG_H */ -#ifdef __cplusplus -} -#endif - #endif /* AVFORMAT_H */ diff --git a/libavutil/avutil.h b/libavutil/avutil.h index 32bc40bfbf..e010ed3567 100644 --- a/libavutil/avutil.h +++ b/libavutil/avutil.h @@ -27,10 +27,6 @@ */ -#ifdef __cplusplus -extern "C" { -#endif - #define AV_STRINGIFY(s) AV_TOSTRING(s) #define AV_TOSTRING(s) #s @@ -130,8 +126,4 @@ enum PixelFormat { #define PIX_FMT_YUV422 PIX_FMT_YUYV422 #endif -#ifdef __cplusplus -} -#endif - #endif /* AVUTIL_H */ diff --git a/libpostproc/postprocess.h b/libpostproc/postprocess.h index eed92ba6d5..a240558f72 100644 --- a/libpostproc/postprocess.h +++ b/libpostproc/postprocess.h @@ -27,10 +27,6 @@ * external api for the pp stuff */ -#ifdef __cplusplus -extern "C" { -#endif - #define LIBPOSTPROC_VERSION_INT ((51<<16)+(1<<8)+0) #define LIBPOSTPROC_VERSION 51.1.0 #define LIBPOSTPROC_BUILD LIBPOSTPROC_VERSION_INT @@ -77,8 +73,4 @@ void pp_free_context(pp_context_t *ppContext); #define PP_PICT_TYPE_QP2 0x00000010 ///< MPEG2 style QScale -#ifdef __cplusplus -} -#endif - #endif |