diff --git a/source/Lib/EncoderLib/EncModeCtrl.cpp b/source/Lib/EncoderLib/EncModeCtrl.cpp index 4f8a1bf47e39e57e37c3556d95731bd8f1a492f3..b1fb758b7b1da63bcfd0fc1ab08b0ff0f64acdd3 100644 --- a/source/Lib/EncoderLib/EncModeCtrl.cpp +++ b/source/Lib/EncoderLib/EncModeCtrl.cpp @@ -743,7 +743,7 @@ void BestEncInfoCache::create( const ChromaFormat chFmt ) new ( &m_bestEncInfo[x][y][wIdx][hIdx]->tus[i] ) TransformUnit(area); } #else - m_bestEncInfo[x][y][wIdx][hIdx]->tu.UnitArea::operator=( area ); + new ( &m_bestEncInfo[x][y][wIdx][hIdx]->tu ) TransformUnit(area); #endif m_bestEncInfo[x][y][wIdx][hIdx]->poc = -1;