[x265] [PATCH] remove unused buffer to avoid crash
ashok at multicorewareinc.com
ashok at multicorewareinc.com
Fri Mar 9 16:13:20 CET 2018
# HG changeset patch
# User Ashok Kumar Mishra <ashok at multicorewareinc.com>
# Date 1520608197 -19800
# Fri Mar 09 20:39:57 2018 +0530
# Node ID 98e48e8dd6ab5747ed5dd9eb03e344054d659f63
# Parent 5037a012d93e71e008372e694f5518f478f8ad35
remove unused buffer to avoid crash
diff -r 5037a012d93e -r 98e48e8dd6ab source/encoder/slicetype.cpp
--- a/source/encoder/slicetype.cpp Fri Mar 09 17:09:39 2018 +0530
+++ b/source/encoder/slicetype.cpp Fri Mar 09 20:39:57 2018 +0530
@@ -202,7 +202,6 @@
for (blockX = 0; blockX < maxCol; blockX += loopIncr)
{
uint32_t energy = acEnergyCu(curFrame, blockX, blockY, param->internalCsp, param->rc.qgSize);
- curFrame->m_lowres.blockVariance[blockXY] = energy;
rowVariance += energy;
qp_adj = pow(energy * bit_depth_correction + 1, 0.1);
curFrame->m_lowres.qpCuTreeOffset[blockXY] = qp_adj;
More information about the x265-devel
mailing list