mirror of https://github.com/FFmpeg/FFmpeg.git
When initialising an FFTContext for a plain FFT, mdct_bits is not set and can contain a garbage value. Since nbits is always valid and for MDCT operation is mdct_bits - 2 checking this instead avoids using an uninitialised value while having the same effect. Signed-off-by: Mans Rullgard <mans@mansr.com>pull/8/head
parent
2c96392277
commit
92dad6687f
1 changed files with 1 additions and 1 deletions
Loading…
Reference in new issue