diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-12-19 18:04:40 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-01-06 18:28:34 +0100 |
commit | 841ce9a83816199ab0ecbda76589f09677e04b08 (patch) | |
tree | 5ac24097598af0a5d1a1e0f15af4f19a2a67e06f /libpostproc/postprocess.c | |
parent | 8a01fb3729e58aab2fdc17ed6ddfa2c4efb3a54c (diff) | |
download | ffmpeg-841ce9a83816199ab0ecbda76589f09677e04b08.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 'libpostproc/postprocess.c')
-rw-r--r-- | libpostproc/postprocess.c | 3 |
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); |