summaryrefslogtreecommitdiff
path: root/libavutil/avutil.h
diff options
context:
space:
mode:
authorwm4 <nfxjfg@googlemail.com>2015-06-30 23:57:53 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-07-01 14:58:05 +0200
commitf91126643a91c2d3f8d8e210c8facaf259951b03 (patch)
treef70d380c38188e12a55eeea66b3fd6f5dcbb98b0 /libavutil/avutil.h
parentdb64af639559c80668bf4fca2768fd8f7aeb43e9 (diff)
lavu: add an API function to return the FFmpeg version string
This returns something like "N-73264-gb54ac84". This is much more useful than the individual library versions, of which there are too much and which are very hard to map back to releases or git commits. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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 e6ebb6c43c..eec2d559a7 100644
--- a/libavutil/avutil.h
+++ b/libavutil/avutil.h
@@ -171,6 +171,13 @@
unsigned avutil_version(void);
/**
+ * Return an informative version string. This usually the actual release version
+ * number and a git hash. This string has no fixed format and can change any
+ * time. It should never be parsed by code.
+ */
+const char *avutil_version_info(void);
+
+/**
* Return the libavutil build-time configuration.
*/
const char *avutil_configuration(void);