mirror of
https://github.com/mpv-player/mpv
synced 2024-12-27 01:22:30 +00:00
21e4f1680c
We consider FFmpeg 1.x and Libav 0.9.x releases compatible. Support for FFmpeg 0.9.x and Libav 0.8.x is considered infeasible and has been dropped in the previous commits. The bits that break compatibility are mainly the CodecID renaming (trivial, but would require nasty hacks everywhere), the avcodec_encode_video2() function (missing in older releases, mandatory in newer ones), and the resampler changes (older releases miss lib{av,sw}resample, newer versions removed the libavcodec resampler). Remove some other compatibility bits that were needed to for releases for which we drop support. The comment about Libav 0.9 in compat/libav.h is incorrect and should have been 0.8 (the symbol is present in Libav 0.9). |
||
---|---|---|
.. | ||
compiler.h | ||
libav.h | ||
mangle.h | ||
mpbswap.h | ||
x86_cpu.h |