diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-02-04 22:45:47 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-02-04 22:59:02 +0100 |
commit | 96a08d8627301dae41a7697ea4346cc9981df17c (patch) | |
tree | c3168df9750976288506de76eb55665c23186018 /libavcodec | |
parent | 81f2549ec9ab236727abe5dfe19d5dfd1478c2b2 (diff) | |
download | ffmpeg-96a08d8627301dae41a7697ea4346cc9981df17c.tar.gz |
wmavoice: silence may be used uninitialized warnings
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/wmavoice.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/wmavoice.c b/libavcodec/wmavoice.c index 8dd3f25052..7ddc434d78 100644 --- a/libavcodec/wmavoice.c +++ b/libavcodec/wmavoice.c @@ -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; |