1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

atrac3plus: always initialize refwaves

CC: libav-stable@libav.org
Bug-Id: CID 1163851
This commit is contained in:
Vittorio Giovara 2014-11-12 19:10:46 +01:00
parent 60e0ee7ca2
commit d16ec1b6db

View File

@ -1575,7 +1575,7 @@ static void decode_tones_amplitude(GetBitContext *gb, Atrac3pChanUnitCtx *ctx,
{
int mode, sb, j, i, diff, maxdiff, fi, delta, pred;
Atrac3pWaveParam *wsrc, *wref;
int refwaves[48];
int refwaves[48] = { 0 };
Atrac3pWavesData *dst = ctx->channels[ch_num].tones_info;
Atrac3pWavesData *ref = ctx->channels[0].tones_info;