fix error judgment on return value in pauseframe

reviewed at: https://rbcommons.com/s/OpenH264/r/577