Skip to content

Commit

Permalink
Fix for new AMBE FEC implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
juribeparada committed Mar 7, 2018
1 parent f667a13 commit 9550b79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NXDNAudio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ void CNXDNAudio::encode(const unsigned char* in, unsigned char* out, unsigned in
// The PRNG
unsigned int p = PRNG_TABLE[aOrig] >> 1;

unsigned int b = CGolay24128::encode23127(bOrig);
unsigned int b = CGolay24128::encode23127(bOrig) >> 1;
b ^= p;

MASK = 0x800000U;
Expand Down

0 comments on commit 9550b79

Please sign in to comment.