Skip to content
Snippets Groups Projects
Commit 9f17e13b authored by Diego Biurrun's avatar Diego Biurrun
Browse files

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
No related branches found
No related tags found
No related merge requests found
...@@ -29,10 +29,6 @@ ...@@ -29,10 +29,6 @@
#include "avutil.h" #include "avutil.h"
#ifdef __cplusplus
extern "C" {
#endif
#define AV_STRINGIFY(s) AV_TOSTRING(s) #define AV_STRINGIFY(s) AV_TOSTRING(s)
#define AV_TOSTRING(s) #s #define AV_TOSTRING(s) #s
...@@ -142,8 +138,4 @@ struct SwsContext *sws_getCachedContext(struct SwsContext *context, ...@@ -142,8 +138,4 @@ struct SwsContext *sws_getCachedContext(struct SwsContext *context,
int dstW, int dstH, int dstFormat, int flags, int dstW, int dstH, int dstFormat, int flags,
SwsFilter *srcFilter, SwsFilter *dstFilter, double *param); SwsFilter *srcFilter, SwsFilter *dstFilter, double *param);
#ifdef __cplusplus
}
#endif
#endif #endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment