summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-12-13 13:22:12 +0100
committerwm4 <wm4@nowhere>2019-12-13 13:22:46 +0100
commitad2cda343b1d6001f430867e0c3f502ff27c8675 (patch)
tree8129fb17a7da85c1b72ffc701a5d36f305cb50f2
parent2a0a595e379d24130a97a3375d39a5c9ce55091c (diff)
downloadmpv-ad2cda343b1d6001f430867e0c3f502ff27c8675.tar.bz2
mpv-ad2cda343b1d6001f430867e0c3f502ff27c8675.tar.xz
player: add comment to clarify FFmpeg ABI handling
Don't patch it out.
-rw-r--r--player/main.c3
1 files changed, 3 insertions, 0 deletions
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. "