summaryrefslogtreecommitdiff
path: root/lib/ftrsd
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2026-10-09 14:12:49 +0200
committerChristoph Berg <myon@debian.org>2026-10-09 14:12:49 +0200
commit76956486fa7ef52a51d4e56df1e13a9f19a6c93c (patch)
treefe0c394439fdc167d1970372e8998874090854dd /lib/ftrsd
parent0685fcada9f95fe90f70b387cd7d757da8209624 (diff)
parentffc62c792c9a5196cb4ce7a353287dfe20db6524 (diff)
Update upstream source from tag 'upstream/3.3.0_beta1+dfsg'
Update to upstream version '3.3.0~beta1+dfsg' with Debian dir 85037bbb9376721108594b59b54ead82ac6924a3
Diffstat (limited to 'lib/ftrsd')
-rw-r--r--lib/ftrsd/ftrsdap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ftrsd/ftrsdap.c b/lib/ftrsd/ftrsdap.c
index b2b85ddd..6f028d44 100644
--- a/lib/ftrsd/ftrsdap.c
+++ b/lib/ftrsd/ftrsdap.c
@@ -53,7 +53,7 @@ void ftrsdap_(int mrsym[], int mrprob[], int mr2sym[], int mr2prob[],
// Initialize the KA9Q Reed-Solomon encoder/decoder
unsigned int symsize=6, gfpoly=0x43, fcr=3, prim=1, nroots=51;
- rs=init_rs_int(symsize, gfpoly, fcr, prim, nroots, 0);
+ if (!rs) rs=init_rs_int(symsize, gfpoly, fcr, prim, nroots, 0);
// Reverse the received symbol vectors for BM decoder
for (i=0; i<63; i++) {