changeset 27460:1b5516898adb

Implement swscale_version().
author stefano
date Fri, 29 Aug 2008 18:23:54 +0000
parents 11c1f98df84c
children 5a30f5bc23a0
files libswscale/swscale.c libswscale/swscale.h
diffstat 2 files changed, 11 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libswscale/swscale.c	Fri Aug 29 17:44:51 2008 +0000
+++ b/libswscale/swscale.c	Fri Aug 29 18:23:54 2008 +0000
@@ -73,6 +73,11 @@
 #include "libavutil/x86_cpu.h"
 #include "libavutil/bswap.h"
 
+unsigned swscale_version(void)
+{
+    return LIBSWSCALE_VERSION_INT;
+}
+
 #undef MOVNTQ
 #undef PAVGB
 
--- a/libswscale/swscale.h	Fri Aug 29 17:44:51 2008 +0000
+++ b/libswscale/swscale.h	Fri Aug 29 18:23:54 2008 +0000
@@ -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