mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
wmavoice: silence may be used uninitialized warnings
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
81f2549ec9
commit
96a08d8627
@ -1440,8 +1440,8 @@ static int synth_frame(AVCodecContext *ctx, GetBitContext *gb, int frame_idx,
|
||||
float *excitation, float *synth)
|
||||
{
|
||||
WMAVoiceContext *s = ctx->priv_data;
|
||||
int n, n_blocks_x2, log_n_blocks_x2, cur_pitch_val;
|
||||
int pitch[MAX_BLOCKS], last_block_pitch;
|
||||
int n, n_blocks_x2, log_n_blocks_x2, av_uninit(cur_pitch_val);
|
||||
int pitch[MAX_BLOCKS], av_uninit(last_block_pitch);
|
||||
|
||||
/* Parse frame type ("frame header"), see frame_descs */
|
||||
int bd_idx = s->vbm_tree[get_vlc2(gb, frame_type_vlc.table, 6, 3)], block_nsamples;
|
||||
|
Loading…
Reference in New Issue
Block a user