Commit 87f9b07a authored by stefano's avatar stefano

Implement swscale_version().


git-svn-id: file:///var/local/repositories/mplayer/trunk/libswscale@27492 b3059339-0415-0410-9bf9-f77b7e298cf2
parent 08ab589c
...@@ -73,6 +73,11 @@ untested special converters ...@@ -73,6 +73,11 @@ untested special converters
#include "libavutil/x86_cpu.h" #include "libavutil/x86_cpu.h"
#include "libavutil/bswap.h" #include "libavutil/bswap.h"
unsigned swscale_version(void)
{
return LIBSWSCALE_VERSION_INT;
}
#undef MOVNTQ #undef MOVNTQ
#undef PAVGB #undef PAVGB
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
#include "libavutil/avutil.h" #include "libavutil/avutil.h"
#define LIBSWSCALE_VERSION_MAJOR 0 #define LIBSWSCALE_VERSION_MAJOR 0
#define LIBSWSCALE_VERSION_MINOR 5 #define LIBSWSCALE_VERSION_MINOR 6
#define LIBSWSCALE_VERSION_MICRO 1 #define LIBSWSCALE_VERSION_MICRO 1
#define LIBSWSCALE_VERSION_INT AV_VERSION_INT(LIBSWSCALE_VERSION_MAJOR, \ #define LIBSWSCALE_VERSION_INT AV_VERSION_INT(LIBSWSCALE_VERSION_MAJOR, \
...@@ -43,6 +43,11 @@ ...@@ -43,6 +43,11 @@
#define LIBSWSCALE_IDENT "SwS" AV_STRINGIFY(LIBSWSCALE_VERSION) #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 */ /* values for the flags, the stuff on the command line is different */
#define SWS_FAST_BILINEAR 1 #define SWS_FAST_BILINEAR 1
#define SWS_BILINEAR 2 #define SWS_BILINEAR 2
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment