Commit abcb4191 authored by diego's avatar diego

Add functions to return library license and library configuration.


git-svn-id: file:///var/local/repositories/mplayer/trunk/libswscale@29932 b3059339-0415-0410-9bf9-f77b7e298cf2
parent 33f102ba
......@@ -84,6 +84,17 @@ unsigned swscale_version(void)
return LIBSWSCALE_VERSION_INT;
}
const char * swscale_configuration(void)
{
return FFMPEG_CONFIGURATION;
}
const char * swscale_license(void)
{
#define LICENSE_PREFIX "libswscale license: "
return LICENSE_PREFIX FFMPEG_LICENSE + sizeof(LICENSE_PREFIX) - 1;
}
#undef MOVNTQ
#undef PAVGB
......
......@@ -48,6 +48,16 @@
*/
unsigned swscale_version(void);
/**
* Returns the libswscale build-time configuration.
*/
const char * swscale_configuration(void);
/**
* Returns the libswscale license.
*/
const char * swscale_license(void);
/* values for the flags, the stuff on the command line is different */
#define SWS_FAST_BILINEAR 1
#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