Index: Makefile
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/Makefile,v
retrieving revision 1.160
diff -u -r1.160 Makefile
--- Makefile	31 Jan 2006 23:45:46 -0000	1.160
+++ Makefile	14 Mar 2006 22:56:03 -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: vf.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf.c,v
retrieving revision 1.123
diff -u -r1.123 vf.c
--- vf.c	9 Feb 2006 14:07:55 -0000	1.123
+++ vf.c	14 Mar 2006 22:56:03 -0000
@@ -172,17 +172,17 @@
     &vf_info_delogo,
     &vf_info_remove_logo,
     &vf_info_hue,
-#ifdef USE_LIBAVCODEC
+#if defined(USE_LIBAVCODEC) && ! defined(USE_LIBAVCODEC_SO)
     &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: vf_fspp.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_fspp.c,v
retrieving revision 1.13
diff -u -r1.13 vf_fspp.c
--- vf_fspp.c	31 Jan 2006 23:36:12 -0000	1.13
+++ vf_fspp.c	14 Mar 2006 22:56:04 -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: vf_qp.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_qp.c,v
retrieving revision 1.6
diff -u -r1.6 vf_qp.c
--- vf_qp.c	31 Jan 2006 23:36:12 -0000	1.6
+++ vf_qp.c	14 Mar 2006 22:56:04 -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: vf_spp.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_spp.c,v
retrieving revision 1.34
diff -u -r1.34 vf_spp.c
--- vf_spp.c	31 Jan 2006 23:36:12 -0000	1.34
+++ vf_spp.c	14 Mar 2006 22:56:04 -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: vf_uspp.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_uspp.c,v
retrieving revision 1.6
diff -u -r1.6 vf_uspp.c
--- vf_uspp.c	13 Feb 2006 07:00:37 -0000	1.6
+++ vf_uspp.c	14 Mar 2006 22:56:04 -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>
