Mercurial > mplayer.hg
changeset 11568:cf76671b3d77
Fix compilation if lavc is compiled as a shared lib. Patch by Panagiotis Issaris <takis@lumumba.luc.ac.be>
author | alex |
---|---|
date | Sun, 07 Dec 2003 15:30:25 +0000 |
parents | a6e12f49eaef |
children | 403ddb6b24f6 |
files | libmpcodecs/vf_spp.c |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/vf_spp.c Sun Dec 07 15:26:12 2003 +0000 +++ b/libmpcodecs/vf_spp.c Sun Dec 07 15:30:25 2003 +0000 @@ -36,8 +36,14 @@ #include "../mp_msg.h" #include "../cpudetect.h" + +#ifdef USE_LIBAVCODEC_SO +#include <ffmpeg/avcodec.h> +#include <ffmpeg/dsputil.h> +#else #include "../libavcodec/avcodec.h" #include "../libavcodec/dsputil.h" +#endif #ifdef HAVE_MALLOC_H #include <malloc.h>