celt_lpc: avoid overflows when computing lpcs in fixed point
The LPCs are computed in 32-bit, so increase the allowed range from +/-8 to +/-64 to avoid overflows caught during fuzzing. Before downshifting back down to the +/-8 range in the final 16-bit output, perform bandwidth extension to avoid any additional overflow issues.
Showing
- celt/celt_lpc.c 49 additions, 5 deletionscelt/celt_lpc.c
- celt/fixed_debug.h 45 additions, 0 deletionscelt/fixed_debug.h
- celt/fixed_generic.h 10 additions, 0 deletionscelt/fixed_generic.h
- silk/LPC_fit.c 2 additions, 1 deletionsilk/LPC_fit.c
- silk/bwexpander_32.c 2 additions, 1 deletionsilk/bwexpander_32.c
Loading
Please register or sign in to comment