summaryrefslogtreecommitdiff
path: root/lib/ftrsd
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2026-10-20 22:35:06 +0100
committerDave Hibberd <hibby@debian.org>2026-10-20 22:35:06 +0100
commit82ebb1ed1af30cee4dfbb1c628431d32885a00e0 (patch)
tree1a1f782d3e576b758be0bc61171574a7cd8f2376 /lib/ftrsd
parent061658210acb6425517733ea012dda803a7f72a1 (diff)
parent61d684922b0f1c8455cc60eb3d123df058c9e1f5 (diff)
Merge tag 'debian/3.3.0_beta2+dfsg-1' into hibbian/trixie-backports
tagging wsjtx 3.3.0~beta2+dfsg-1
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++) {