diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-12-19 18:04:40 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-12-20 02:26:27 +0100 |
commit | 820f41e1a1b4fc2ad74bdb4a598c29d3427af1a6 (patch) | |
tree | 651204a1129c1a740396cbd83159b3ad5a13b1e5 /libavformat | |
parent | 14d6ea0c459ca22b818977859d2476783fcc7d1a (diff) | |
download | ffmpeg-820f41e1a1b4fc2ad74bdb4a598c29d3427af1a6.tar.gz |
Add FFMPEG_VERSION into the binary libs
This simplifies identifying from which revision a binary of a lib came from
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 649c158e8c94ac0cff7f03e97d6ea8bbf71b7f02)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/utils.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index b657b9e8b5..6ff4570f5c 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -53,6 +53,9 @@ #include "riff.h" #include "url.h" +#include "libavutil/ffversion.h" +const char av_format_ffversion[] = "FFmpeg version " FFMPEG_VERSION; + /** * @file * various utility functions for use within FFmpeg |