diff options
author | Mans Rullgard <mans@mansr.com> | 2012-12-06 23:51:01 +0000 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2012-12-07 13:11:57 +0000 |
commit | 92dad6687f59a6e599834218626e524eb8a5bdae (patch) | |
tree | 45461e4c47aa6cf206f5ae80f7ba13da15d84b94 /libavformat/pcmdec.c | |
parent | 2c9639227766fea9a8109f82378b312a8d32a1ee (diff) | |
download | ffmpeg-92dad6687f59a6e599834218626e524eb8a5bdae.tar.gz |
arm: fix use of uninitialised value in ff_fft_fixed_init_arm()
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>
Diffstat (limited to 'libavformat/pcmdec.c')
0 files changed, 0 insertions, 0 deletions