[x265] [PATCH] search.cpp: fixed type conversion warning

Deepthi Nandakumar deepthi at multicorewareinc.com
Tue Sep 9 08:06:47 CEST 2014


Thanks, Praveen - an alternative patch pushed to take care of this (silly)
warning.


On Tue, Sep 9, 2014 at 11:29 AM, <praveen at multicorewareinc.com> wrote:

> # HG changeset patch
> # User Praveen Tiwari
> # Date 1410242347 -19800
> # Node ID 5026f08bd7d64ab0ee22dcc98dd034030aa65db9
> # Parent  7510b362ca969d850d33b10acb37f3e5a6d6b7dc
> search.cpp: fixed type conversion warning
>
> diff -r 7510b362ca96 -r 5026f08bd7d6 source/encoder/search.cpp
> --- a/source/encoder/search.cpp Tue Sep 09 11:07:59 2014 +0530
> +++ b/source/encoder/search.cpp Tue Sep 09 11:29:07 2014 +0530
> @@ -1443,7 +1443,8 @@
>              m_entropyCoder->load(m_rdEntropyCoders[depth][CI_CURR_BEST]);
>
>              // determine residual for partition
> -            puDistY = puCost = 0;
> +            puDistY = 0;
> +            puCost  = 0;
>              xRecurIntraCodingQT(cu, initTrDepth, partOffset, fencYuv,
> predYuv, resiYuv, puDistY, true, puCost, depthRange);
>
>              // check r-d cost
> @@ -1462,7 +1463,8 @@
>          m_entropyCoder->load(m_rdEntropyCoders[depth][CI_CURR_BEST]);
>
>          // determine residual for partition
> -        puDistY = puCost = 0;
> +        puDistY = 0;
> +        puCost  = 0;
>          xRecurIntraCodingQT(cu, initTrDepth, partOffset, fencYuv,
> predYuv, resiYuv, puDistY, false, puCost, depthRange);
>
>          overallDistY += (puCost >= bestPUCost) ? bestPUDistY : puDistY;
> _______________________________________________
> x265-devel mailing list
> x265-devel at videolan.org
> https://mailman.videolan.org/listinfo/x265-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20140909/c43b1611/attachment.html>


More information about the x265-devel mailing list