bug fix for passing bLuma and bChroma as separate arguments

if there are default arguments other than bLuma and bChroma, those default values
(bRound, refIdx) are not passed during the function call(addWeightBi(),
xWeightedPredictionUni())
lowres: right and bottom margins are being extended twice?
[x265] ratecontrol: initialize frameThreads
Fix a floating point exceptio

---
source/encoder/ratecontrol.cpp | 1 +
 1 file changed, 1 insertion(+)
Lookahead: wavefront bugfix.

conditionally assign estimated cost to avoid overwriting intra cost.