diff --git a/libswscale/swscale.h b/libswscale/swscale.h index 275b5673bf..4dd38d6d87 100644 --- a/libswscale/swscale.h +++ b/libswscale/swscale.h @@ -29,8 +29,10 @@ #include "avutil.h" -#define LIBSWSCALE_VERSION_INT ((0<<16)+(5<<8)+0) -#define LIBSWSCALE_VERSION 0.5.0 +#define LIBSWSCALE_VERSION_TRIPLET 0,5,0 + +#define LIBSWSCALE_VERSION_INT AV_VERSION_INT(LIBSWSCALE_VERSION_TRIPLET) +#define LIBSWSCALE_VERSION AV_VERSION(LIBSWSCALE_VERSION_TRIPLET) #define LIBSWSCALE_BUILD LIBSWSCALE_VERSION_INT #define LIBSWSCALE_IDENT "SwS" AV_STRINGIFY(LIBSWSCALE_VERSION)