From 264f4670a1345f77bec7740481e2fcd1109aa835 Mon Sep 17 00:00:00 2001 From: alex Date: Sun, 7 Dec 2003 15:30:25 +0000 Subject: [PATCH] Fix compilation if lavc is compiled as a shared lib. Patch by Panagiotis Issaris git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11569 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/vf_spp.c | 6 ++++++ 1 file changed, 6 insertions(+) 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