[MPlayer-dev-eng] [PATCH] libavcodec shared lib

Panagiotis Issaris takis at lumumba.luc.ac.be
Fri Dec 5 09:39:40 CET 2003


Compilation of mplayer with libavcodec support without having the
libavcodec tree in the mplayer tree, fails on libmpcodecs/vf_spp.c,
because of its reference to ../libavcodec/avcodec.h. I fixed this in the
same manner as was done in other places in the mplayer tree.

Unfortunately, vf_spp.c not only refers to avcodec.h, but also to
dsputil.h which is (at the moment) not installed to
$PREFIX/include/ffmpeg as avcodec.h is. I'm sending a second patch to
the ffmpeg mailinglist which adds dsputil.h to the files which are

With friendly regards,

e-mail: takis at lumumba.luc.ac.be
OpenPGP key: http://lumumba.luc.ac.be/takis/takis_public_key.txt
fingerprint: 6571 13A3 33D9 3726 F728  AA98 F643 B12E ECF3 E029
IM: takis at jabber.org, icq(12764288), t4k1s at yahoo.com
-------------- next part --------------
Index: libmpcodecs/vf_spp.c
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_spp.c,v
retrieving revision 1.15
diff -u -r1.15 vf_spp.c
--- libmpcodecs/vf_spp.c	16 Nov 2003 10:48:03 -0000	1.15
+++ libmpcodecs/vf_spp.c	5 Dec 2003 08:26:38 -0000
@@ -36,8 +36,14 @@
 #include "../mp_msg.h"
 #include "../cpudetect.h"
+#include <ffmpeg/avcodec.h>
+#include <ffmpeg/dsputil.h>
 #include "../libavcodec/avcodec.h"
 #include "../libavcodec/dsputil.h"
 #include <malloc.h>

More information about the MPlayer-dev-eng mailing list