mirror of https://git.ffmpeg.org/ffmpeg.git
Merge commit 'd16ec1b6db25bc348b0d4800c9a0c9b7070e3710'
* commit 'd16ec1b6db25bc348b0d4800c9a0c9b7070e3710': atrac3plus: always initialize refwaves The initialization is not needed, the array is never read before being written to. Its merged anyway for robustness in respect to future changes Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
53ab7846ee
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue