From c67a5435023a9c412550247cc1a670766f45f409 Mon Sep 17 00:00:00 2001 From: lucabe Date: Sat, 19 Aug 2006 15:14:44 +0000 Subject: [PATCH] Allow swscale emulation header to be included by C++ programs git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6027 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b --- libavcodec/swscale.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/libavcodec/swscale.h b/libavcodec/swscale.h index 5d13f90da..d23d77768 100644 --- a/libavcodec/swscale.h +++ b/libavcodec/swscale.h @@ -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 @@ int sws_scale(struct SwsContext *ctx, uint8_t* src[], int srcStride[], void sws_freeContext(struct SwsContext *swsContext); +#ifdef __cplusplus +} +#endif + #endif /* SWSCALE_EMU_H */ -- 2.11.4.GIT