summaryrefslogtreecommitdiff
path: root/libavutil/avutil.h
diff options
context:
space:
mode:
authorwm4 <nfxjfg@googlemail.com>2015-07-02 19:04:59 +0200
committerJanne Grunau <janne-libav@jannau.net>2015-07-02 23:22:53 +0200
commit1316df7aa98c4784f190d107206d0bb12c590b89 (patch)
treebc8922c649dd88312f81b9521bc82660c7c65fe3 /libavutil/avutil.h
parenta31c4b2cbef9aee15910fc3df52519aef46760de (diff)
downloadffmpeg-1316df7aa98c4784f190d107206d0bb12c590b89.tar.gz
lavu: add an API function to return the Libav version string
This returns something like "v12_dev0-1332-g333a27c". This is much more useful than the individual library versions, of which there are too many, and which are very hard to map back to releases or git commits. Signed-off-by: Janne Grunau <janne-libav@jannau.net>
Diffstat (limited to 'libavutil/avutil.h')
-rw-r--r--libavutil/avutil.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libavutil/avutil.h b/libavutil/avutil.h
index f056415f09..688068eff8 100644
--- a/libavutil/avutil.h
+++ b/libavutil/avutil.h
@@ -164,6 +164,13 @@
unsigned avutil_version(void);
/**
+ * Return an informative version string. This usually is the actual release
+ * version number or a git commit description. This string has no fixed format
+ * and can change any time. It should never be parsed by code.
+ */
+const char *av_version_info(void);
+
+/**
* Return the libavutil build-time configuration.
*/
const char *avutil_configuration(void);