diff options
author | wm4 <nfxjfg@googlemail.com> | 2015-06-30 23:57:53 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-07-01 14:58:05 +0200 |
commit | f91126643a91c2d3f8d8e210c8facaf259951b03 (patch) | |
tree | f70d380c38188e12a55eeea66b3fd6f5dcbb98b0 /libavutil/utils.c | |
parent | db64af639559c80668bf4fca2768fd8f7aeb43e9 (diff) | |
download | ffmpeg-f91126643a91c2d3f8d8e210c8facaf259951b03.tar.gz |
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/utils.c')
-rw-r--r-- | libavutil/utils.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavutil/utils.c b/libavutil/utils.c index 0b765ed0de..07bb3801c9 100644 --- a/libavutil/utils.c +++ b/libavutil/utils.c @@ -30,6 +30,11 @@ #include "libavutil/ffversion.h" const char av_util_ffversion[] = "FFmpeg version " FFMPEG_VERSION; +const char *avutil_version_info(void) +{ + return FFMPEG_VERSION; +} + unsigned avutil_version(void) { static int checks_done; |