Merge pull request #857 from mstorsjo/remove-unused-ifdef

Remove two unused ifdefs
This commit is contained in:
sijchen 2014-05-20 13:08:27 +08:00
commit 2e5700d32d
2 changed files with 0 additions and 11 deletions

View File

@ -2451,14 +2451,8 @@ bool SetMeMethod (const uint8_t uiMethod, PSearchMethodFunc& pSearchMethodFunc)
pSearchMethodFunc = WelsDiamondCrossFeatureSearch;
break;
case ME_FULL:
#ifdef HAVE_MMX
// make sure your cpu can support x86 sse4.1 instruction set if try it
//pSearchMethodFunc = WelsFullSearch;
#else
pSearchMethodFunc = WelsDiamondSearch;
return false;
#endif//HAVE_MMX
break;
default:
pSearchMethodFunc = WelsDiamondSearch;
return false;

View File

@ -46,11 +46,6 @@
WELSVP_NAMESPACE_BEGIN
#ifdef HAVE_MMX
WELSVP_EXTERN_C_BEGIN
WELSVP_EXTERN_C_END
#endif
class CScrollDetection : public IStrategy {
public:
CScrollDetection (int32_t iCpuFlag) {