summaryrefslogtreecommitdiffstats
path: root/libpostproc/postprocess.c
diff options
context:
space:
mode:
authorMichael Niedermayer <[email protected]>2014-12-19 18:04:40 +0100
committerMichael Niedermayer <[email protected]>2014-12-22 03:17:56 +0100
commit9f8cdd520b24d8d73fb495d607bf2d73b6cea2e0 (patch)
treef123b47293dd27b924a285999959308bea21ce28 /libpostproc/postprocess.c
parentf5631d23e06ac3d1a8148a2989bef4e29ee28e09 (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 <[email protected]> (cherry picked from commit 649c158e8c94ac0cff7f03e97d6ea8bbf71b7f02) Signed-off-by: Michael Niedermayer <[email protected]>
Diffstat (limited to 'libpostproc/postprocess.c')
-rw-r--r--libpostproc/postprocess.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libpostproc/postprocess.c b/libpostproc/postprocess.c
index f8fb356391..c11debcd70 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);