summaryrefslogtreecommitdiff
path: root/silk/structs.h
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@amazon.com>2022-12-20 17:32:16 -0500
committerJean-Marc Valin <jmvalin@amazon.com>2022-12-20 17:32:16 -0500
commit145d0515a364e85d1f483b4606b05e0650bac793 (patch)
tree8f6258fb42b10ce40925f656eb4bf9a5b1bbc446 /silk/structs.h
parent22528654234ca61cd49b281b651b385b2488240d (diff)
downloadopus-145d0515a364e85d1f483b4606b05e0650bac793.tar.gz
Fix DRED segfault
Properly re-initialize DRED (only) when needed
Diffstat (limited to 'silk/structs.h')
-rw-r--r--silk/structs.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/silk/structs.h b/silk/structs.h
index 22f56ee0..d2d44c54 100644
--- a/silk/structs.h
+++ b/silk/structs.h
@@ -262,11 +262,6 @@ typedef struct {
/* FIXME: We should include the state struct directly to preserve the state shadow copy property. */
LPCNetPLCState *lpcnet;
int pre_filled;
-#ifdef ENABLE_NEURAL_FEC
- DREDDec dred_decoder;
- float fec_features[2*DRED_NUM_REDUNDANCY_FRAMES*DRED_NUM_FEATURES];
- int nb_fec_frames;
-#endif
#endif
} silk_PLC_struct;