solve green issue combined with EC and multi-packet input

see:
https://rbcommons.com/s/OpenH264/r/677/