mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
Bump libav* API use
(Not tested on Windows and OSX.)
This commit is contained in:
@@ -42,10 +42,10 @@
|
||||
#include <libavdevice/avdevice.h>
|
||||
#endif
|
||||
|
||||
#if HAVE_IS_LIBAV
|
||||
#if HAVE_LIBAV
|
||||
#include <libavresample/avresample.h>
|
||||
#endif
|
||||
#if HAVE_IS_FFMPEG
|
||||
#if HAVE_FFMPEG_MPV
|
||||
#include <libswresample/swresample.h>
|
||||
#endif
|
||||
|
||||
@@ -197,10 +197,10 @@ bool print_libav_versions(struct mp_log *log, int v)
|
||||
{"libavformat", LIBAVFORMAT_VERSION_INT, avformat_version()},
|
||||
{"libswscale", LIBSWSCALE_VERSION_INT, swscale_version()},
|
||||
{"libavfilter", LIBAVFILTER_VERSION_INT, avfilter_version()},
|
||||
#if HAVE_IS_LIBAV
|
||||
#if HAVE_LIBAV
|
||||
{"libavresample", LIBAVRESAMPLE_VERSION_INT, avresample_version()},
|
||||
#endif
|
||||
#if HAVE_IS_FFMPEG
|
||||
#if HAVE_FFMPEG_MPV
|
||||
{"libswresample", LIBSWRESAMPLE_VERSION_INT, swresample_version()},
|
||||
#endif
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user