Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.1145
diff -u -r1.1145 configure
--- configure	13 Mar 2006 21:50:56 -0000	1.1145
+++ configure	15 Mar 2006 22:08:36 -0000
@@ -6165,8 +6165,10 @@
 
 _def_libavcodec='#undef USE_LIBAVCODEC'
 _def_libavcodec_so='#undef USE_LIBAVCODEC_SO'
+_def_lavc_dsputil='#undef USE_LIBAVCODEC_DSPUTIL'
 if test "$_libavcodec" = yes ; then
   _def_libavcodec='#define USE_LIBAVCODEC 1'
+  _def_lavc_dsputil='#define USE_LIBAVCODEC_DSPUTIL'
   _ld_libavcodec='libavcodec/libavcodec.a'
   _dep_libavcodec='libavcodec/libavcodec.a'
   _codecmodules="libavcodec $_codecmodules"
@@ -7719,6 +7721,7 @@
 /* ffmpeg's libavcodec support (requires libavcodec source) */
 $_def_libavcodec
 $_def_libavcodec_so
+$_def_lavc_dsputil
 
 /* ffmpeg's libavformat support (requires libavformat source) */
 $_def_libavformat
Index: libmpcodecs/Makefile
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/Makefile,v
retrieving revision 1.160
diff -u -r1.160 Makefile
--- libmpcodecs/Makefile	31 Jan 2006 23:45:46 -0000	1.160
+++ libmpcodecs/Makefile	15 Mar 2006 22:08:36 -0000
@@ -150,12 +150,13 @@
              vf_yvu9.c \
              vf_screenshot.c \
 
-VFILTER_LAVC_SRCS += vf_uspp.c \
-                     vf_fspp.c \
-                     vf_lavc.c \
+VFILTER_LAVC_SRCS += vf_lavc.c \
                      vf_lavcdeint.c \
-                     vf_qp.c \
-                     vf_spp.c \
+
+VFILTER_LAVC_DSPUTIL_SRCS += vf_uspp.c \
+                             vf_fspp.c \
+                             vf_qp.c \
+                             vf_spp.c \
 
 ifeq ($(CONFIG_LIBPOSTPROC),yes)
 VFILTER_SRCS += vf_pp.c
@@ -166,6 +167,7 @@
 
 ifeq ($(CONFIG_LIBAVCODEC),yes)
 VFILTER_SRCS += $(VFILTER_LAVC_SRCS)
+VFILTER_SRCS += $(VFILTER_LAVC_DSPUTIL_SRCS)
 endif
 ifeq ($(CONFIG_LIBAVCODEC_SO),yes)
 VFILTER_SRCS += $(VFILTER_LAVC_SRCS)
Index: libmpcodecs/vf.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf.c,v
retrieving revision 1.123
diff -u -r1.123 vf.c
--- libmpcodecs/vf.c	9 Feb 2006 14:07:55 -0000	1.123
+++ libmpcodecs/vf.c	15 Mar 2006 22:08:36 -0000
@@ -172,17 +172,17 @@
     &vf_info_delogo,
     &vf_info_remove_logo,
     &vf_info_hue,
-#ifdef USE_LIBAVCODEC
+#ifdef USE_LIBAVCODEC_DSPUTIL
     &vf_info_spp,
     &vf_info_uspp,
     &vf_info_fspp,
-    &vf_info_pp7,
+    &vf_info_qp,
 #endif
     &vf_info_yuvcsp,
     &vf_info_kerndeint,
     &vf_info_rgbtest,
 #ifdef USE_LIBAVCODEC
-    &vf_info_qp,
+    &vf_info_pp7,
 #endif
     &vf_info_phase,
     &vf_info_divtc,
Index: libmpcodecs/vf_fspp.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_fspp.c,v
retrieving revision 1.13
diff -u -r1.13 vf_fspp.c
--- libmpcodecs/vf_fspp.c	31 Jan 2006 23:36:12 -0000	1.13
+++ libmpcodecs/vf_fspp.c	15 Mar 2006 22:08:37 -0000
@@ -41,13 +41,8 @@
 #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>
Index: libmpcodecs/vf_qp.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_qp.c,v
retrieving revision 1.6
diff -u -r1.6 vf_qp.c
--- libmpcodecs/vf_qp.c	31 Jan 2006 23:36:12 -0000	1.6
+++ libmpcodecs/vf_qp.c	15 Mar 2006 22:08:37 -0000
@@ -37,15 +37,9 @@
 // Needed to bring in lrintf.
 #define HAVE_AV_CONFIG_H
 
-#ifdef USE_LIBAVCODEC_SO
-#include <ffmpeg/avcodec.h>
-#include <ffmpeg/dsputil.h>
-#include <ffmpeg/common.h>
-#else
 #include "libavcodec/avcodec.h"
 #include "libavcodec/dsputil.h"
 #include "libavutil/common.h"
-#endif
 
 /* FIXME: common.h defines printf away when HAVE_AV_CONFIG
  * is defined, but mp_image.h needs printf.
Index: libmpcodecs/vf_spp.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_spp.c,v
retrieving revision 1.34
diff -u -r1.34 vf_spp.c
--- libmpcodecs/vf_spp.c	31 Jan 2006 23:36:12 -0000	1.34
+++ libmpcodecs/vf_spp.c	15 Mar 2006 22:08:37 -0000
@@ -35,13 +35,8 @@
 #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>
Index: libmpcodecs/vf_uspp.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_uspp.c,v
retrieving revision 1.6
diff -u -r1.6 vf_uspp.c
--- libmpcodecs/vf_uspp.c	13 Feb 2006 07:00:37 -0000	1.6
+++ libmpcodecs/vf_uspp.c	15 Mar 2006 22:08:37 -0000
@@ -27,13 +27,8 @@
 #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>
