diff options
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/mga_common.c | 8 | ||||
-rw-r--r-- | libvo/vo_aa.c | 1 | ||||
-rw-r--r-- | libvo/vo_vesa.c | 1 | ||||
-rw-r--r-- | libvo/vo_x11.c | 1 |
4 files changed, 4 insertions, 7 deletions
diff --git a/libvo/mga_common.c b/libvo/mga_common.c index 072a1d7067..e5ef50042d 100644 --- a/libvo/mga_common.c +++ b/libvo/mga_common.c @@ -4,6 +4,7 @@ #include "../cpudetect.h" #include "../postproc/swscale.h" #include "../postproc/rgb2rgb.h" +#include "../libmpcodecs/vf_scale.h" #include "mp_msg.h" // mga_vid drawing functions @@ -415,13 +416,6 @@ static int mga_uninit(){ return 0; } -static int get_sws_cpuflags(){ - return - (gCpuCaps.hasMMX ? SWS_CPU_CAPS_MMX : 0) - | (gCpuCaps.hasMMX2 ? SWS_CPU_CAPS_MMX2 : 0) - | (gCpuCaps.has3DNow ? SWS_CPU_CAPS_3DNOW : 0); -} - static uint32_t preinit(const char *vo_subdevice) { const char *devname=vo_subdevice?vo_subdevice:"/dev/mga_vid"; diff --git a/libvo/vo_aa.c b/libvo/vo_aa.c index f01c2e63f6..f9c700a058 100644 --- a/libvo/vo_aa.c +++ b/libvo/vo_aa.c @@ -28,6 +28,7 @@ #include "video_out_internal.h" #include "aspect.h" #include "../postproc/swscale.h" +#include "../libmpcodecs/vf_scale.h" #include "font_load.h" #include "sub.h" diff --git a/libvo/vo_vesa.c b/libvo/vo_vesa.c index d046e309e2..ba911521ec 100644 --- a/libvo/vo_vesa.c +++ b/libvo/vo_vesa.c @@ -45,6 +45,7 @@ #endif #include "../postproc/swscale.h" +#include "../libmpcodecs/vf_scale.h" #ifdef HAVE_PNG diff --git a/libvo/vo_x11.c b/libvo/vo_x11.c index 6b6ea84251..079662bafd 100644 --- a/libvo/vo_x11.c +++ b/libvo/vo_x11.c @@ -25,6 +25,7 @@ #include "../postproc/swscale.h" #include "../postproc/swscale_internal.h" //FIXME #include "../postproc/rgb2rgb.h" +#include "../libmpcodecs/vf_scale.h" #include "../mp_msg.h" |