mirror of
https://github.com/mpv-player/mpv
synced 2025-03-25 04:38:01 +00:00
common/av_log: move general FFmpeg version before library versions
This way another library can be logged before FFmpeg without it looking weird.
This commit is contained in:
parent
25fa52d237
commit
8bbe39a858
@ -193,6 +193,7 @@ void check_library_versions(struct mp_log *log, int v)
|
||||
{"libswresample", LIBSWRESAMPLE_VERSION_INT, swresample_version()},
|
||||
};
|
||||
|
||||
mp_msg(log, v, "FFmpeg version: %s\n", av_version_info());
|
||||
mp_msg(log, v, "FFmpeg library versions:\n");
|
||||
|
||||
for (int n = 0; n < MP_ARRAY_SIZE(libs); n++) {
|
||||
@ -209,8 +210,6 @@ void check_library_versions(struct mp_log *log, int v)
|
||||
abort();
|
||||
}
|
||||
}
|
||||
|
||||
mp_msg(log, v, "FFmpeg version: %s\n", av_version_info());
|
||||
}
|
||||
|
||||
#undef V
|
||||
|
Loading…
Reference in New Issue
Block a user