diff --git a/source/Lib/CommonLib/TypeDef.h b/source/Lib/CommonLib/TypeDef.h index 786e81d429b67cde4669a450d1caeba90389f770..3ef736ae4442374b74280f6aa6d676a46b62d62c 100644 --- a/source/Lib/CommonLib/TypeDef.h +++ b/source/Lib/CommonLib/TypeDef.h @@ -93,7 +93,6 @@ #endif -#define WCG_EXT_BUGFIX 1 // ==================================================================================================================== // NEXT software switches diff --git a/source/Lib/EncoderLib/EncCu.cpp b/source/Lib/EncoderLib/EncCu.cpp index 85ae3e9fe630ae837c984819c7b3aa6e305c8baa..a78001f3f5777a2bcd780fec484fce72f5387497 100644 --- a/source/Lib/EncoderLib/EncCu.cpp +++ b/source/Lib/EncoderLib/EncCu.cpp @@ -2006,11 +2006,7 @@ void EncCu::xReuseCachedResult( CodingStructure *&tempCS, CodingStructure *&best #if WCG_EXT if( m_pcEncCfg->getLumaLevelToDeltaQPMapping().isEnabled() ) { -#if WCG_EXT_BUGFIX const CPelBuf orgLuma = tempCS->getOrgBuf(tempCS->area.blocks[COMPONENT_Y]); -#else - const CPelBuf orgLuma = tempCS->getOrgBuf(cs.area.blocks[COMPONENT_Y]); -#endif finalDistortion += m_pcRdCost->getDistPart( org, reco, sps.getBitDepth( toChannelType( compID ) ), compID, DF_SSE_WTD, &orgLuma ); } else