diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2025-07-11 10:30:42 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2025-07-11 10:31:32 +0200 |
commit | 12ca282e72c4680be3bf7e92ac984be01b4821b9 (patch) | |
tree | b5f4f1eb5907cc7590c0793364b599dc85e5a2e5 /contrib/fec/decode_rs.h | |
parent | ba26d2b1b21ab6b67c2166f96b3e8ff92c830141 (diff) | |
download | ODR-AudioEnc-12ca282e72c4680be3bf7e92ac984be01b4821b9.tar.gz ODR-AudioEnc-12ca282e72c4680be3bf7e92ac984be01b4821b9.tar.bz2 ODR-AudioEnc-12ca282e72c4680be3bf7e92ac984be01b4821b9.zip |
common: EDI per-output PFT config; allow setting TTL without UDP sourcenext
Diffstat (limited to 'contrib/fec/decode_rs.h')
-rw-r--r-- | contrib/fec/decode_rs.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/contrib/fec/decode_rs.h b/contrib/fec/decode_rs.h index c165cf3..647b885 100644 --- a/contrib/fec/decode_rs.h +++ b/contrib/fec/decode_rs.h @@ -145,15 +145,15 @@ count++; } if (count != no_eras) { - printf("count = %d no_eras = %d\n lambda(x) is WRONG\n",count,no_eras); + fprintf(stderr, "count = %d no_eras = %d\n lambda(x) is WRONG\n",count,no_eras); count = -1; goto finish; } #if DEBUG >= 2 - printf("\n Erasure positions as determined by roots of Eras Loc Poly:\n"); + fprintf(stderr, "\n Erasure positions as determined by roots of Eras Loc Poly:\n"); for (i = 0; i < count; i++) - printf("%d ", loc[i]); - printf("\n"); + fprintf(stderr, "%d ", loc[i]); + fprintf(stderr, "\n"); #endif #endif } @@ -227,7 +227,7 @@ continue; /* Not a root */ /* store root (index-form) and error location number */ #if DEBUG>=2 - printf("count %d root %d loc %d\n",count,i,k); + fprintf(stderr, "count %d root %d loc %d\n",count,i,k); #endif root[count] = i; loc[count] = k; @@ -279,7 +279,7 @@ } #if DEBUG >= 1 if (den == 0) { - printf("\n ERROR: denominator = 0\n"); + fprintf(stderr, "\n ERROR: denominator = 0\n"); count = -1; goto finish; } |