diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-05-17 17:43:55 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-05-20 21:39:37 +0200 |
commit | 01b2940c65549cab78fb39bfdb30d2825210b287 (patch) | |
tree | 93413d9749b1fabaedfe1daec5b6b17be6f0a250 | |
parent | 126ac41ec051df2439eb87a4730b5fe88b97020f (diff) | |
download | dabmux-01b2940c65549cab78fb39bfdb30d2825210b287.tar.gz dabmux-01b2940c65549cab78fb39bfdb30d2825210b287.tar.bz2 dabmux-01b2940c65549cab78fb39bfdb30d2825210b287.zip |
fix suspicious magic constant in ReedSolomon.c
-rw-r--r-- | src/ReedSolomon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ReedSolomon.cpp b/src/ReedSolomon.cpp index fc4c91e..0989e17 100644 --- a/src/ReedSolomon.cpp +++ b/src/ReedSolomon.cpp @@ -98,7 +98,7 @@ int ReedSolomon::encode(void* data, unsigned long size) if (reverse) { ret = decode_rs_char(rsData, input, NULL, 0); } else { - encode_rs_char(rsData, input, &input[188]); + encode_rs_char(rsData, input, &input[myK]); } return ret; |