[MPlayer-cvslog] r27492 - in trunk/libswscale: swscale.c swscale.h

stefano subversion at mplayerhq.hu
Fri Aug 29 20:23:54 CEST 2008


Author: stefano
Date: Fri Aug 29 20:23:54 2008
New Revision: 27492

Log:
Implement swscale_version().


Modified:
   trunk/libswscale/swscale.c
   trunk/libswscale/swscale.h

Modified: trunk/libswscale/swscale.c
==============================================================================
--- trunk/libswscale/swscale.c	(original)
+++ trunk/libswscale/swscale.c	Fri Aug 29 20:23:54 2008
@@ -73,6 +73,11 @@ untested special converters
 #include "libavutil/x86_cpu.h"
 #include "libavutil/bswap.h"
 
+unsigned swscale_version(void)
+{
+    return LIBSWSCALE_VERSION_INT;
+}
+
 #undef MOVNTQ
 #undef PAVGB
 

Modified: trunk/libswscale/swscale.h
==============================================================================
--- trunk/libswscale/swscale.h	(original)
+++ trunk/libswscale/swscale.h	Fri Aug 29 20:23:54 2008
@@ -30,7 +30,7 @@
 #include "libavutil/avutil.h"
 
 #define LIBSWSCALE_VERSION_MAJOR 0
-#define LIBSWSCALE_VERSION_MINOR 5
+#define LIBSWSCALE_VERSION_MINOR 6
 #define LIBSWSCALE_VERSION_MICRO 1
 
 #define LIBSWSCALE_VERSION_INT  AV_VERSION_INT(LIBSWSCALE_VERSION_MAJOR, \
@@ -43,6 +43,11 @@
 
 #define LIBSWSCALE_IDENT        "SwS" AV_STRINGIFY(LIBSWSCALE_VERSION)
 
+/**
+ * Returns the LIBSWSCALE_VERSION_INT constant.
+ */
+unsigned swscale_version(void);
+
 /* values for the flags, the stuff on the command line is different */
 #define SWS_FAST_BILINEAR     1
 #define SWS_BILINEAR          2



More information about the MPlayer-cvslog mailing list