add decoder return value
Merge pull request #1201 from ruil2/decoder_ret_33

    add decoder return value