From: agl Date: Sat, 19 Jan 2008 22:04:25 +0000 (+0530) Subject: Make one of the comments more clear X-Git-Url: https://git.rkrishnan.org/pf/content/en/seg/priv/rgr-080307.php?a=commitdiff_plain;h=161c1901fcc558094326e2ef61700da8ba1e4fa2;p=tahoe-lafs%2Fzfec.git Make one of the comments more clear darcs-hash:6cfbb4108198f145ff6098122a3332674b5d00de --- diff --git a/zfec/zfec/fec.h b/zfec/zfec/fec.h index a70cbb4..13bfbe2 100644 --- a/zfec/zfec/fec.h +++ b/zfec/zfec/fec.h @@ -35,7 +35,7 @@ void fec_free(fec_t* p); void fec_encode(const fec_t* code, const gf*restrict const*restrict const src, gf*restrict const*restrict const fecs, const unsigned*restrict const block_nums, size_t num_block_nums, size_t sz); /** - * @param inpkts an array of packets (size k); If the block whose number is i is present, then it is required to be in the i'th element. + * @param inpkts an array of packets (size k); If a primary block, i, is present then it must be at index i. Secondary blocks can appear anywhere. * @param outpkts an array of buffers into which the reconstructed output packets will be written (only packets which are not present in the inpkts input will be reconstructed and written to outpkts) * @param index an array of the blocknums of the packets in inpkts * @param sz size of a packet in bytes