mirror of
https://github.com/mpv-player/mpv
synced 2025-04-08 10:32:51 +00:00
Remove extern C declarations for C++.
FFmpeg is pure C and not all public headers have the declarations. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23322 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
ed7594a115
commit
c339e74ac8
@ -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…
Reference in New Issue
Block a user