From ad2cda343b1d6001f430867e0c3f502ff27c8675 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 13 Dec 2019 13:22:12 +0100 Subject: [PATCH] player: add comment to clarify FFmpeg ABI handling Don't patch it out. --- player/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/player/main.c b/player/main.c index cac012a774..983f463d3e 100644 --- a/player/main.c +++ b/player/main.c @@ -388,6 +388,9 @@ int mp_initialize(struct MPContext *mpctx, char **options) return 1; // help if (!print_libav_versions(mp_null_log, 0)) { + // This happens only if the runtime FFmpeg version is lower than the + // build version, which will not work according to FFmpeg's ABI rules. + // This does not happen if runtime FFmpeg is newer, which is compatible. print_libav_versions(mpctx->log, MSGL_FATAL); MP_FATAL(mpctx, "\nmpv was compiled against an incompatible version of " "FFmpeg/Libav than the shared\nlibrary it is linked against. "