aboutsummaryrefslogtreecommitdiffstats
path: root/libpostproc
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-12-19 18:04:40 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-01-20 03:27:17 +0100
commit3769601fb6d80f974e1c800b6890391cdc0f6f06 (patch)
tree357e428ca7cefb7ce97c4d9d53b0da296b2fee4e /libpostproc
parent2528468e204c906bf5f9a0a8dc25021bec14bb7c (diff)
downloadffmpeg-3769601fb6d80f974e1c800b6890391cdc0f6f06.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) Conflicts: libavdevice/avdevice.c libswresample/swresample.c
Diffstat (limited to 'libpostproc')
-rw-r--r--libpostproc/postprocess.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libpostproc/postprocess.c b/libpostproc/postprocess.c
index 37206c5a48..f2757acc78 100644
--- a/libpostproc/postprocess.c
+++ b/libpostproc/postprocess.c
@@ -89,6 +89,9 @@ try to unroll inner for(x=0 ... loop to avoid these damn if(x ... checks
#include "postprocess_internal.h"
#include "libavutil/avstring.h"
+#include "libavutil/ffversion.h"
+const char postproc_ffversion[] = "FFmpeg version " FFMPEG_VERSION;
+
unsigned postproc_version(void)
{
av_assert0(LIBPOSTPROC_VERSION_MICRO >= 100);