diff options
author | Ron Economos <w6rz@comcast.net> | 2019-01-18 01:16:24 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2019-01-19 10:44:58 -0800 |
commit | 68aef5dd87738e0c2ebc97a7df024bd4fc06a08e (patch) | |
tree | 9121bd171e63e7690f25b693427784c54f47260f /gr-dtv | |
parent | 7d25c03f707ae2edc22977832889819a45b9090b (diff) |
dtv: Differential encode all parity bits.
Diffstat (limited to 'gr-dtv')
-rw-r--r-- | gr-dtv/lib/dvb/dvb_ldpc_bb_impl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-dtv/lib/dvb/dvb_ldpc_bb_impl.cc b/gr-dtv/lib/dvb/dvb_ldpc_bb_impl.cc index b7e1fe40ef..b2ffd0096e 100644 --- a/gr-dtv/lib/dvb/dvb_ldpc_bb_impl.cc +++ b/gr-dtv/lib/dvb/dvb_ldpc_bb_impl.cc @@ -662,7 +662,7 @@ for (int row = 0; row < ROWS; row++) { \ p[i_p] = pbit; } - for (int j = 1; j < (plen - Xp); j++) { + for (int j = 1; j < plen; j++) { p[j] ^= p[j-1]; } if (P != 0) { |