diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-12-19 20:04:40 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-12-19 21:32:40 +0300 |
commit | 649c158e8c94ac0cff7f03e97d6ea8bbf71b7f02 (patch) | |
tree | 7d81268b34d9df6a6871aa8d61aebaf00e4be303 /libavdevice/avdevice.c | |
parent | 869b56cae6e08c48c32033a8644907739198721d (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 <michaelni@gmx.at>
Diffstat (limited to 'libavdevice/avdevice.c')
-rw-r--r-- | libavdevice/avdevice.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavdevice/avdevice.c b/libavdevice/avdevice.c index fda3cd0354..d59e99a31f 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 |