From 649c158e8c94ac0cff7f03e97d6ea8bbf71b7f02 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 19 Dec 2014 18:04:40 +0100 Subject: 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 --- libswresample/swresample.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libswresample/swresample.c') 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); -- cgit v1.2.3