mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-03 19:55:03 +02:00
Fix for new AMBE FEC implementation
This commit is contained in:
parent
f667a13ef9
commit
9550b790a7
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue