summaryrefslogtreecommitdiffstats
path: root/libavformat/framecrcenc.c
diff options
context:
space:
mode:
authorMans Rullgard <[email protected]>2012-12-06 23:51:01 +0000
committerMans Rullgard <[email protected]>2012-12-07 13:11:57 +0000
commit92dad6687f59a6e599834218626e524eb8a5bdae (patch)
tree45461e4c47aa6cf206f5ae80f7ba13da15d84b94 /libavformat/framecrcenc.c
parent2c9639227766fea9a8109f82378b312a8d32a1ee (diff)
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 <[email protected]>
Diffstat (limited to 'libavformat/framecrcenc.c')
0 files changed, 0 insertions, 0 deletions