diff --git a/libmpcodecs/vf_spp.c b/libmpcodecs/vf_spp.c index 75c2de17a8..65255354c0 100644 --- a/libmpcodecs/vf_spp.c +++ b/libmpcodecs/vf_spp.c @@ -36,8 +36,14 @@ #include "../mp_msg.h" #include "../cpudetect.h" + +#ifdef USE_LIBAVCODEC_SO +#include +#include +#else #include "../libavcodec/avcodec.h" #include "../libavcodec/dsputil.h" +#endif #ifdef HAVE_MALLOC_H #include