diff options
author | Jean-Marc Valin <jmvalin@amazon.com> | 2022-12-20 17:32:16 -0500 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@amazon.com> | 2022-12-20 17:32:16 -0500 |
commit | 145d0515a364e85d1f483b4606b05e0650bac793 (patch) | |
tree | 8f6258fb42b10ce40925f656eb4bf9a5b1bbc446 /silk/structs.h | |
parent | 22528654234ca61cd49b281b651b385b2488240d (diff) | |
download | opus-145d0515a364e85d1f483b4606b05e0650bac793.tar.gz |
Fix DRED segfault
Properly re-initialize DRED (only) when needed
Diffstat (limited to 'silk/structs.h')
-rw-r--r-- | silk/structs.h | 5 |
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; |