mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-23 11:28:42 +08:00
vf_uspp: Mark as depending on avcodec API only, not internals
There has been some confusion about whether this filter depends on libavcodec internals or not. When originally added it included explicit code to support building with a shared library avcodec, but it also used the internal dsputil.h header. Later it was marked as depending on libavcodec internals, then the dsputil.h include was removed as unnecessary. It seems to build fine without any internal headers now and has no obvious other usage of internal symbols either, so I'm enabling the build whenever libavcodec is available.
This commit is contained in:
@@ -135,6 +135,7 @@ SRCS_COMMON-$(LIBAVCODEC) += av_opts.c \
|
||||
libmpcodecs/vf_lavc.c \
|
||||
libmpcodecs/vf_lavcdeint.c \
|
||||
libmpcodecs/vf_screenshot.c \
|
||||
libmpcodecs/vf_uspp.c \
|
||||
|
||||
# These filters use private headers and do not work with shared libavcodec.
|
||||
SRCS_COMMON-$(LIBAVCODEC_INTERNALS) += libaf/af_lavcac3enc.c \
|
||||
@@ -143,7 +144,6 @@ SRCS_COMMON-$(LIBAVCODEC_INTERNALS) += libaf/af_lavcac3enc.c \
|
||||
libmpcodecs/vf_mcdeint.c \
|
||||
libmpcodecs/vf_qp.c \
|
||||
libmpcodecs/vf_spp.c \
|
||||
libmpcodecs/vf_uspp.c \
|
||||
|
||||
SRCS_COMMON-$(LIBAVFORMAT) += libmpdemux/demux_lavf.c
|
||||
SRCS_COMMON-$(LIBBS2B) += libaf/af_bs2b.c
|
||||
|
||||
Reference in New Issue
Block a user