mirror of https://github.com/mpv-player/mpv
player: document FFmpeg ABI rules we intentionally violate
That's just a single one. It used to be more, when FFmpeg still required using pointless accessors for tons of fields, which historically broke compatibility with Libav. (I think I wrote the patch to deprecate that crap and to allow direct access myself.) There may be more exceptions, but I forgot about them. Another point is that we don't really trust FFmpeg ABI stability, though.
This commit is contained in:
parent
c1956e82c2
commit
9d4f16b10d
|
@ -388,6 +388,8 @@ int mp_initialize(struct MPContext *mpctx, char **options)
|
|||
// 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.
|
||||
// Known API/ABI violations:
|
||||
// - AVIOContext.bytes_read (demux_lavf.c)
|
||||
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. "
|
||||
|
|
Loading…
Reference in New Issue