[MPlayer-cvslog] r23322 - trunk/libswscale/swscale.h

diego subversion at mplayerhq.hu
Wed May 16 14:26:47 CEST 2007


Author: diego
Date: Wed May 16 14:26:47 2007
New Revision: 23322

Log:
Remove extern C declarations for C++.
FFmpeg is pure C and not all public headers have the declarations.


Modified:
   trunk/libswscale/swscale.h

Modified: trunk/libswscale/swscale.h
==============================================================================
--- trunk/libswscale/swscale.h	(original)
+++ trunk/libswscale/swscale.h	Wed May 16 14:26:47 2007
@@ -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(
                                         int dstW, int dstH, int dstFormat, int flags,
                                         SwsFilter *srcFilter, SwsFilter *dstFilter, double *param);
 
-#ifdef __cplusplus
-}
-#endif
-
 #endif



More information about the MPlayer-cvslog mailing list