aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/avfilter.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 /libavfilter/avfilter.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 'libavfilter/avfilter.c')
-rw-r--r--libavfilter/avfilter.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index b7d4cd038a..450a6328c7 100644
--- a/libavfilter/avfilter.c
+++ b/libavfilter/avfilter.c
@@ -28,6 +28,17 @@ unsigned avfilter_version(void) {
return LIBAVFILTER_VERSION_INT;
}
+const char * avfilter_configuration(void)
+{
+ return FFMPEG_CONFIGURATION;
+}
+
+const char * avfilter_license(void)
+{
+#define LICENSE_PREFIX "libavfilter license: "
+ return LICENSE_PREFIX FFMPEG_LICENSE + sizeof(LICENSE_PREFIX) - 1;
+}
+
/** helper macros to get the in/out pad on the dst/src filter */
#define link_dpad(link) link->dst-> input_pads[link->dstpad]
#define link_spad(link) link->src->output_pads[link->srcpad]