From 9f17e13bfc897d024783e34f414c57f817bcb0df Mon Sep 17 00:00:00 2001
From: Diego Biurrun <diego@biurrun.de>
Date: Wed, 16 May 2007 12:26:47 +0000
Subject: [PATCH] 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
---
 libswscale/swscale.h | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/libswscale/swscale.h b/libswscale/swscale.h
index adad02f5a5c..aa4c25483c6 100644
--- a/libswscale/swscale.h
+++ b/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
-- 
GitLab