[x265] [PATCH] remove unused buffer to avoid crash

Ashok Kumar Mishra ashok at multicorewareinc.com
Fri Mar 9 16:15:40 CET 2018


On Fri, Mar 9, 2018 at 8:43 PM, <ashok at multicorewareinc.com> wrote:

> # 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;
>


Pushed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20180309/f8b8602d/attachment.html>


More information about the x265-devel mailing list