Fix DRED segfault
Properly re-initialize DRED (only) when needed
This commit is contained in:
parent
72c93e0523
commit
68eea61cb0
2 changed files with 14 additions and 12 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue