From ffc62c792c9a5196cb4ce7a353287dfe20db6524 Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Fri, 9 Oct 2026 14:12:35 +0200 Subject: New upstream version 3.3.0~beta1+dfsg --- lib/ftrsd/ftrsdap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/ftrsd') 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++) { -- cgit v1.2.3