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
pull/126/head
Diego Biurrun 18 years ago
parent 605315248c
commit 9f17e13bfc
  1. 8
      libswscale/swscale.h

@ -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

Loading…
Cancel
Save