mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
takdec: fix initialisation of LOCAL_ALIGNED array
When LOCAL_ALIGNED uses manual alignment initialisation is not possible. Signed-off-by: Mans Rullgard <mans@mansr.com>
This commit is contained in:
parent
57231e4d5b
commit
cd71af90a9
@ -420,11 +420,13 @@ static void decode_filter_coeffs(TAKDecContext *s, int filter_order, int size,
|
||||
static int decode_subframe(TAKDecContext *s, int32_t *decoded,
|
||||
int subframe_size, int prev_subframe_size)
|
||||
{
|
||||
LOCAL_ALIGNED_16(int16_t, filter, [MAX_PREDICTORS]) = { 0, };
|
||||
LOCAL_ALIGNED_16(int16_t, filter, [MAX_PREDICTORS]);
|
||||
GetBitContext *gb = &s->gb;
|
||||
int i, ret;
|
||||
int dshift, size, filter_quant, filter_order;
|
||||
|
||||
memset(filter, 0, MAX_PREDICTORS * sizeof(*filter));
|
||||
|
||||
if (!get_bits1(gb))
|
||||
return decode_residues(s, decoded, subframe_size);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user