# HG changeset patch # User diego # Date 1179318354 0 # Node ID 02150368fd809c964769ff23f9e01362e72c5c04 # Parent fa4066708500c9393c86168f8a5a7ffce51d190c Remove extern C declarations for C++. FFmpeg is pure C and not all public headers have the declarations. diff -r fa4066708500 -r 02150368fd80 avformat.h --- a/avformat.h Wed May 16 09:21:23 2007 +0000 +++ b/avformat.h Wed May 16 12:25:54 2007 +0000 @@ -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 @@ #endif /* HAVE_AV_CONFIG_H */ -#ifdef __cplusplus -} -#endif - #endif /* AVFORMAT_H */