clean redundant code

reviewed on https://rbcommons.com/s/OpenH264/r/436/