summaryrefslogtreecommitdiffstats
path: root/libswscale/swscale.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-11-18 17:16:02 +0000
committerDiego Biurrun <diego@biurrun.de>2009-11-18 17:16:02 +0000
commitbd381fd3f60ca93ec9d383b87577a14f2951ff69 (patch)
treed4b2b0b4bd4940e3ce6d55e3598fd5f9ba78af9e /libswscale/swscale.c
parentc1736936982e9b0d3400462eda2b0bf410f6e003 (diff)
downloadffmpeg-streaming-bd381fd3f60ca93ec9d383b87577a14f2951ff69.zip
ffmpeg-streaming-bd381fd3f60ca93ec9d383b87577a14f2951ff69.tar.gz
Add functions to return library license and library configuration.
Originally committed as revision 29932 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/swscale.c')
-rw-r--r--libswscale/swscale.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c
index ba41c12..8d0b560 100644
--- a/libswscale/swscale.c
+++ b/libswscale/swscale.c
@@ -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
OpenPOWER on IntegriCloud