summaryrefslogtreecommitdiff
path: root/lib/libfec.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libfec.c')
-rw-r--r--lib/libfec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libfec.c b/lib/libfec.c
index adf2bba..924701f 100644
--- a/lib/libfec.c
+++ b/lib/libfec.c
@@ -792,7 +792,7 @@ shuffle(gf *pkt[], int index[], int k)
* a vector of k*k elements, in row-major order
*/
static gf *
-build_decode_matrix(struct fec_parms *code, gf *pkt[], int index[])
+build_decode_matrix(struct fec_parms *code, int index[])
{
int i , k = code->k ;
gf *p, *matrix = NEW_GF_MATRIX(k, k);
@@ -846,7 +846,7 @@ fec_decode(struct fec_parms *code, gf *pkt[], int index[], int sz)
if (shuffle(pkt, index, k)) /* error if true */
return 1 ;
- m_dec = build_decode_matrix(code, pkt, index);
+ m_dec = build_decode_matrix(code, index);
if (m_dec == NULL)
return 1 ; /* error */