diff options
Diffstat (limited to 'libvo/mga_common.c')
-rw-r--r-- | libvo/mga_common.c | 8 |
1 files changed, 1 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"; |