Forward-port avcodec_decode_audio4 error handling patch from v1.
Fix mix-merge of previous.