diff --git a/src/fec_vectorisation.cpp b/src/fec_vectorisation.cpp index 7f2cc16b..1854b3ce 100644 --- a/src/fec_vectorisation.cpp +++ b/src/fec_vectorisation.cpp @@ -50,7 +50,7 @@ void RsFnt::encode_post_process( { size_t size = this->pkt_size; uint16_t threshold = this->gf->card_minus_one(); - unsigned code_len = this->code_len; + unsigned code_len = this->n_outputs; // number of elements per vector register unsigned vec_size = ALIGN_SIZE / sizeof(uint16_t); diff --git a/src/simd.h b/src/simd.h index 56a2637d..807722dd 100644 --- a/src/simd.h +++ b/src/simd.h @@ -33,6 +33,8 @@ #ifdef QUADIRON_USE_SIMD +#include "property.h" + const unsigned F4 = 65537; const unsigned F3 = 257;