Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lamphamsy committed Sep 7, 2018
1 parent ae62a24 commit 3a7ec57
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/fec_vectorisation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ void RsFnt<uint16_t>::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);
Expand Down
2 changes: 2 additions & 0 deletions src/simd.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@

#ifdef QUADIRON_USE_SIMD

#include "property.h"

const unsigned F4 = 65537;
const unsigned F3 = 257;

Expand Down

0 comments on commit 3a7ec57

Please sign in to comment.