mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-04-14 00:58:38 +02:00
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
This commit is contained in:
parent
605315248c
commit
9f17e13bfc
@ -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,
|
|||||||
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user