summaryrefslogtreecommitdiff
path: root/libpostproc/postprocess.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-11-18 17:15:17 +0000
committerDiego Biurrun <diego@biurrun.de>2009-11-18 17:15:17 +0000
commitc1736936982e9b0d3400462eda2b0bf410f6e003 (patch)
treef147fdb968bd17ed937618c3362fc668cdffb0ef /libpostproc/postprocess.c
parentd7a0e29f3156271e4ff7c551199ba42d28e7934d (diff)
downloadffmpeg-c1736936982e9b0d3400462eda2b0bf410f6e003.tar.gz
Add functions to return library license and library configuration.
Originally committed as revision 20547 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libpostproc/postprocess.c')
-rw-r--r--libpostproc/postprocess.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/libpostproc/postprocess.c b/libpostproc/postprocess.c
index 179fd7ec98..9bb9468311 100644
--- a/libpostproc/postprocess.c
+++ b/libpostproc/postprocess.c
@@ -92,6 +92,17 @@ unsigned postproc_version(void)
return LIBPOSTPROC_VERSION_INT;
}
+const char * postproc_configuration(void)
+{
+ return FFMPEG_CONFIGURATION;
+}
+
+const char * postproc_license(void)
+{
+#define LICENSE_PREFIX "libpostproc license: "
+ return LICENSE_PREFIX FFMPEG_LICENSE + sizeof(LICENSE_PREFIX) - 1;
+}
+
#if HAVE_ALTIVEC_H
#include <altivec.h>
#endif