ec disable bug fix

fix the case when EC is disabled, to prevent following construction.
see:
https://rbcommons.com/s/OpenH264/r/850/