fix a calculation of fAverageFrameRate
Merge pull request #1522 from sijchen/after_review

[Encoder] fix a calculation of fAverageFrameRate