mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-20 22:45:44 +08:00
Fix for new AMBE FEC implementation
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user