Skip to content

Commit

Permalink
[squash] fec_base: update
Browse files Browse the repository at this point in the history
  • Loading branch information
lamphamsy committed Feb 8, 2019
1 parent 0e2e3e4 commit 4233ae6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fec_base.h
Original file line number Diff line number Diff line change
Expand Up @@ -1252,7 +1252,7 @@ bool FecCode<T>::decode_blocks_vertical(
const std::vector<uint8_t*> output_mem_char = output_char.get_mem();

std::unique_ptr<DecodeContext<T>> context =
init_context_dec(fragments_ids, pkt_size, &output);
init_context_dec(fragments_ids, parities_props, pkt_size, &output);

reset_stats_dec();

Expand Down Expand Up @@ -1293,7 +1293,7 @@ bool FecCode<T>::decode_blocks_vertical(

timeval t1 = tick();
uint64_t start = hw_timer();
decode(*context, output, parities_props, offset, words);
decode(*context, output, offset, words);
uint64_t end = hw_timer();
uint64_t t2 = hrtime_usec(t1);

Expand Down

0 comments on commit 4233ae6

Please sign in to comment.