mirror of https://github.com/mpv-player/mpv
cfda696580
In a first pass, we check whether libavcodec is present. Then we try to compile a snippet and check for FFmpeg vs. Libav. (This could probably also be done by somehow checking the pkgconfig version. But pkg-config can't deal with that idiotic FFmpeg idea that a micro version number >= 100 identifies FFmpeg vs. Libav.) After that we check the project-specific version numbers. This means it can no longer happen that we accidentally allow older, unsupported versions of FFmpeg, just because the Libav version numbers are somehow this way. Also drop the resampler checks. We hardcode which resampler to each with each project. A user can no longer force use of libavresample with FFmpeg. |
||
---|---|---|
.. | ||
av_common.c | ||
av_common.h | ||
av_log.c | ||
av_log.h | ||
codecs.c | ||
codecs.h | ||
common.c | ||
common.h | ||
encode.h | ||
encode_lavc.c | ||
encode_lavc.h | ||
global.h | ||
msg.c | ||
msg.h | ||
msg_control.h | ||
playlist.c | ||
playlist.h | ||
tags.c | ||
tags.h | ||
version.c |