]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/blobdiff - libavdevice/avdevice.c
Add functions to return library license and library configuration.
[frescor/ffmpeg.git] / libavdevice / avdevice.c
index ec379b9d42f62a5b2672b169b3fc9f51d3138a9c..3d67b4b8bef1f8ae8f631d2ef8127b2453c7f2ba 100644 (file)
@@ -22,3 +22,14 @@ unsigned avdevice_version(void)
 {
     return LIBAVDEVICE_VERSION_INT;
 }
+
+const char * avdevice_configuration(void)
+{
+    return FFMPEG_CONFIGURATION;
+}
+
+const char * avdevice_license(void)
+{
+#define LICENSE_PREFIX "libavdevice license: "
+    return LICENSE_PREFIX FFMPEG_LICENSE + sizeof(LICENSE_PREFIX) - 1;
+}