[Ffmpeg-cvslog] r6027 - trunk/libavcodec/swscale.h

lucabe subversion
Sat Aug 19 17:14:44 CEST 2006


Author: lucabe
Date: Sat Aug 19 17:14:44 2006
New Revision: 6027

Modified:
   trunk/libavcodec/swscale.h

Log:
Allow swscale emulation header to be included by C++ programs


Modified: trunk/libavcodec/swscale.h
==============================================================================
--- trunk/libavcodec/swscale.h	(original)
+++ trunk/libavcodec/swscale.h	Sat Aug 19 17:14:44 2006
@@ -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 */




More information about the ffmpeg-cvslog mailing list