summaryrefslogtreecommitdiff
path: root/libavdevice
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-12-19 18:04:40 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-12-20 02:26:27 +0100
commit820f41e1a1b4fc2ad74bdb4a598c29d3427af1a6 (patch)
tree651204a1129c1a740396cbd83159b3ad5a13b1e5 /libavdevice
parent14d6ea0c459ca22b818977859d2476783fcc7d1a (diff)
downloadffmpeg-820f41e1a1b4fc2ad74bdb4a598c29d3427af1a6.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 'libavdevice')
-rw-r--r--libavdevice/avdevice.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavdevice/avdevice.c b/libavdevice/avdevice.c
index 6a75bd79d7..c391931ac2 100644
--- a/libavdevice/avdevice.c
+++ b/libavdevice/avdevice.c
@@ -23,6 +23,9 @@
#include "avdevice.h"
#include "config.h"
+#include "libavutil/ffversion.h"
+const char av_device_ffversion[] = "FFmpeg version " FFMPEG_VERSION;
+
#define E AV_OPT_FLAG_ENCODING_PARAM
#define D AV_OPT_FLAG_DECODING_PARAM
#define A AV_OPT_FLAG_AUDIO_PARAM