lavu: add an API function to return the Libav version string
[ffmpeg.git] / libavutil / utils.c
index c8c161d..8dcf3b6 100644 (file)
 #include "config.h"
 #include "avutil.h"
 
+#include "avversion.h"
+
 /**
  * @file
  * various utility functions
  */
 
+const char *av_version_info(void)
+{
+    return LIBAV_VERSION;
+}
+
 unsigned avutil_version(void)
 {
     return LIBAVUTIL_VERSION_INT;