add decoder return value
Merge pull request #1200 from ruil2/decoder_ret_1

    add decoder return value
Merge remote-tracking branch 'upstream/master' into travis.android