mirror of
https://github.com/mpv-player/mpv.git
synced 2026-05-07 20:02:49 +00:00
common/av_log: make FFmpeg libs ABI mismatch log clearer
And exit, instead of aborting.
This commit is contained in:
committed by
Leo Izen
parent
962fb5fde8
commit
d37405c8f3
+3
-3
@@ -222,9 +222,9 @@ void check_library_versions(struct mp_log *log, int v)
|
||||
if (l->buildv > l->runv ||
|
||||
AV_VERSION_MAJOR(l->buildv) != AV_VERSION_MAJOR(l->runv))
|
||||
{
|
||||
fprintf(stderr, "%s: %d.%d.%d -> %d.%d.%d\n",
|
||||
l->name, V(l->buildv), V(l->runv));
|
||||
abort();
|
||||
mp_fatal(log, "%s: build version %d.%d.%d incompatible with runtime version %d.%d.%d\n",
|
||||
l->name, V(l->buildv), V(l->runv));
|
||||
exit(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user