blob: 3995ebb61765da98999fba69149e2564a4d202bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
$NetBSD: patch-player_main.c,v 1.4 2018/07/25 14:19:16 leot Exp $
Avoid to check mismatched built vs running libraries version.
The use in pkgsrc can be considered a legitimate one.
--- player/main.c.orig 2018-07-22 16:46:25.000000000 +0000
+++ player/main.c
@@ -381,21 +381,6 @@ int mp_initialize(struct MPContext *mpct
if (handle_help_options(mpctx))
return 1; // help
- if (!print_libav_versions(mp_null_log, 0)) {
- // Using mismatched libraries can be legitimate, but even then it's
- // a bad idea. We don't acknowledge its usefulness and stability.
- // Distro maintainers who patch this out should be aware that mpv
- // intentionally ignores ABI in some places where it's not possible to
- // get by without violating it.
- print_libav_versions(mpctx->log, MSGL_FATAL);
- MP_FATAL(mpctx, "\nmpv was compiled against a different version of "
- "FFmpeg/Libav than the shared\nlibrary it is linked against. "
- "This is most likely a broken build and could\nresult in "
- "misbehavior and crashes.\n\nmpv does not support this "
- "configuration and will not run - rebuild mpv instead.\n");
- return -1;
- }
-
if (!mpctx->playlist->first && !opts->player_idle_mode) {
// nothing to play
mp_print_version(mpctx->log, true);
|