Mercurial > libavcodec.hg
changeset 3593:3da79b0751b1 libavcodec
Allow swscale emulation header to be included by C++ programs
author | lucabe |
---|---|
date | Sat, 19 Aug 2006 15:14:44 +0000 |
parents | 6a358dccf2ab |
children | 10c577c37617 |
files | swscale.h |
diffstat | 1 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/swscale.h Sat Aug 19 08:46:52 2006 +0000 +++ b/swscale.h Sat Aug 19 15:14:44 2006 +0000 @@ -1,5 +1,10 @@ #ifndef SWSCALE_EMU_H #define SWSCALE_EMU_H + +#ifdef __cplusplus +extern "C" { +#endif + /* Dummy, only useful for compilation! */ #define SWS_FAST_BILINEAR 1 #define SWS_BILINEAR 2 @@ -29,4 +34,8 @@ void sws_freeContext(struct SwsContext *swsContext); +#ifdef __cplusplus +} +#endif + #endif /* SWSCALE_EMU_H */