add decoder return value

approved at:https://rbcommons.com/s/OpenH264/r/690/