Commit 9f17e13b authored by Diego Biurrun's avatar Diego Biurrun

Remove extern C declarations for C++.

FFmpeg is pure C and not all public headers have the declarations.

Originally committed as revision 23322 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
parent 60531524
......@@ -29,10 +29,6 @@
#include "avutil.h"
#ifdef __cplusplus
extern "C" {
#endif
#define AV_STRINGIFY(s) AV_TOSTRING(s)
#define AV_TOSTRING(s) #s
......@@ -142,8 +138,4 @@ struct SwsContext *sws_getCachedContext(struct SwsContext *context,
int dstW, int dstH, int dstFormat, int flags,
SwsFilter *srcFilter, SwsFilter *dstFilter, double *param);
#ifdef __cplusplus
}
#endif
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment