Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-12-19 20:04:40 +0300
committerMichael Niedermayer <michaelni@gmx.at>2014-12-19 21:32:40 +0300
commit649c158e8c94ac0cff7f03e97d6ea8bbf71b7f02 (patch)
tree7d81268b34d9df6a6871aa8d61aebaf00e4be303 /libswresample
parent869b56cae6e08c48c32033a8644907739198721d (diff)
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>
Diffstat (limited to 'libswresample')
-rw-r--r--libswresample/swresample.c3
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);