Mercurial > libpostproc.hg
diff postprocess.c @ 130:885c7548fb5e libpostproc
Add functions to return library license and library configuration.
author | diego |
---|---|
date | Wed, 18 Nov 2009 17:15:17 +0000 |
parents | 1afabe715e63 |
children | 63eddcff3509 |
line wrap: on
line diff
--- a/postprocess.c Wed Aug 19 08:15:32 2009 +0000 +++ b/postprocess.c Wed Nov 18 17:15:17 2009 +0000 @@ -92,6 +92,17 @@ 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