diff options
author | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-06-01 21:59:29 +0000 |
---|---|---|
committer | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-06-01 21:59:29 +0000 |
commit | 5b882e51309851ebdfc8c8b1959610fa3f825854 (patch) | |
tree | 1d187adc17bdf278cabc9c63486ffa4bc2d1095e /libvo/mga_common.c | |
parent | 56d2da5af429840315d53c26aee476c7b8c2a2ce (diff) | |
download | mpv-5b882e51309851ebdfc8c8b1959610fa3f825854.tar.bz2 mpv-5b882e51309851ebdfc8c8b1959610fa3f825854.tar.xz |
vf_scale.h & related cleanup & some small warning fix by dominik
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10234 b3059339-0415-0410-9bf9-f77b7e298cf2
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"; |