On Thu, Feb 6, 2014 at 5:46 PM, <[email protected]> wrote: > # HG changeset patch > # User Gopu Govindaswamy > # Date 1391730404 28800 > # Thu Feb 06 15:46:44 2014 -0800 > # Node ID e46200fced768a256a76a11b80da387ab8391a24 > # Parent e2aaeaa85c037fa45da39920e96ecac9bce1bf4e > lowres: initialize weightedCostDelta to avoid Valgrind reporting > uninitialized memory >
queued, thanks > diff -r e2aaeaa85c03 -r e46200fced76 source/common/lowres.cpp > --- a/source/common/lowres.cpp Thu Feb 06 13:26:50 2014 -0800 > +++ b/source/common/lowres.cpp Thu Feb 06 15:46:44 2014 -0800 > @@ -135,6 +135,7 @@ > leadingBframes = 0; > satdCost = (int64_t)-1; > memset(costEst, -1, sizeof(costEst)); > + memset(weightedCostDelta, 0, sizeof(weightedCostDelta)); > > if (qpAqOffset && invQscaleFactor) > memset(costEstAq, -1, sizeof(costEstAq)); > _______________________________________________ > x265-devel mailing list > [email protected] > https://mailman.videolan.org/listinfo/x265-devel > -- Steve Borho
_______________________________________________ x265-devel mailing list [email protected] https://mailman.videolan.org/listinfo/x265-devel
