diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-12-19 18:04:40 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-12-22 03:17:56 +0100 |
commit | 9f8cdd520b24d8d73fb495d607bf2d73b6cea2e0 (patch) | |
tree | f123b47293dd27b924a285999959308bea21ce28 /libswresample/swresample.c | |
parent | f5631d23e06ac3d1a8148a2989bef4e29ee28e09 (diff) | |
download | ffmpeg-9f8cdd520b24d8d73fb495d607bf2d73b6cea2e0.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 'libswresample/swresample.c')
-rw-r--r-- | libswresample/swresample.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libswresample/swresample.c b/libswresample/swresample.c index b0bd697e04..eb6effa8ef 100644 --- a/libswresample/swresample.c +++ b/libswresample/swresample.c @@ -28,6 +28,9 @@ #define ALIGN 32 +#include "libavutil/ffversion.h" +const char swr_ffversion[] = "FFmpeg version " FFMPEG_VERSION; + unsigned swresample_version(void) { av_assert0(LIBSWRESAMPLE_VERSION_MICRO >= 100); |