From 590be6a0058985c8ac533a5f3bfc80b7cd2ca98c Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sat, 14 Feb 2015 12:29:35 +0100 Subject: [PATCH] Calm down a tiny bit on the amount of parity. --- rs_parm.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rs_parm.h b/rs_parm.h index 3039ef0..c6d85a6 100644 --- a/rs_parm.h +++ b/rs_parm.h @@ -1,12 +1,12 @@ #ifndef _RS_PARM_H #define _RS_PARM_H -// (255,171); pretty much 50% overhead, can protect against loss bursts of -// 84 packets (more if they straddle blocks). Sounds overkill, but sometimes +// (255,191); pretty much 33% overhead, can protect against loss bursts of +// 64 packets (more if they straddle blocks). Sounds overkill, but sometimes // conditions can be really really crappy... #define RS_SYM_SIZE 8 #define RS_NUM_SYM ((1 << RS_SYM_SIZE) - 1) -#define RS_PARITY_SIZE 84 +#define RS_PARITY_SIZE 64 #define RS_PAD 0 // RS_PAD currently needs to be 0. #define RS_GROUP_SIZE (RS_NUM_SYM - RS_PAD) -- 2.39.2