add return error if data lost

add return value for first-time ECed data in decoder.
see:
https://rbcommons.com/s/OpenH264/r/556/