lavu: add an API function to return the Libav version string

This returns something like "v12_dev0-1332-g333a27c". This is much more
useful than the individual library versions, of which there are too
many, and which are very hard to map back to releases or git commits.

Signed-off-by: Janne Grunau <janne-libav@jannau.net>
This commit is contained in:
wm4 2015-07-02 19:04:59 +02:00 committed by Janne Grunau
parent a31c4b2cbe
commit 1316df7aa9
6 changed files with 22 additions and 5 deletions

View file

@ -45,8 +45,8 @@
#include "libavutil/dict.h"
#include "libavutil/opt.h"
#include "libavutil/cpu.h"
#include "avversion.h"
#include "cmdutils.h"
#include "version.h"
#if CONFIG_NETWORK
#include "libavformat/network.h"
#endif