In the current master, the tmpCostWithoutSplitFlags
variable within xCheckRdCostIntra
stores the value of tempCS->cost
minus the cost necessary to code the split flags. tempCS->cost
can be reset to MAX_DOUBLE
if an lfnst pass obtains a zero CBF. However, right now tmpCostWithoutSplitFlags
is not updated when that happens. This MR corrects that error by setting tmpCostWithoutSplitFlags
to MAX_DOUBLE too if the zero-CBF condition is triggered for the lfnst passes.