diff --git a/common/av_log.c b/common/av_log.c index 68d82b53f9..776885c64c 100644 --- a/common/av_log.c +++ b/common/av_log.c @@ -32,6 +32,7 @@ #include "osdep/threads.h" #include +#include #include #include @@ -205,7 +206,11 @@ void check_library_versions(struct mp_log *log, int v) {"libswscale", LIBSWSCALE_VERSION_INT, swscale_version()}, }; - mp_msg(log, v, "FFmpeg version: %s\n", av_version_info()); + const char *runtime_version = av_version_info(); + mp_msg(log, v, "FFmpeg version: %s", FFMPEG_VERSION); + if (strcmp(runtime_version, FFMPEG_VERSION)) + mp_msg(log, v, " (runtime %s)", runtime_version); + mp_msg(log, v, "\n"); mp_msg(log, v, "FFmpeg library versions:\n"); for (int n = 0; n < MP_ARRAY_SIZE(libs); n++) {