New fix ec ratio calc

review at:
https://rbcommons.com/s/OpenH264/r/981/