diff libswscale/swscale.c @ 29890:e8e1f8cc7c5b

Add functions to return library license and library configuration.
author diego
date Wed, 18 Nov 2009 17:16:02 +0000
parents f6d56a15f1d8
children 916134a82d74
line wrap: on
line diff
--- a/libswscale/swscale.c	Wed Nov 18 09:13:09 2009 +0000
+++ b/libswscale/swscale.c	Wed Nov 18 17:16:02 2009 +0000
@@ -84,6 +84,17 @@
     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