diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-05-07 02:13:56 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-05-07 02:13:56 +0200 |
commit | 326463893beb5acbda1765a4854ec2fee3996bf3 (patch) | |
tree | 4eaf3b78a5edec57f348a42d335585d945646159 | |
parent | 84655bdaed9c768da32fbe0493f41198a4b547d6 (diff) | |
download | ffmpeg-326463893beb5acbda1765a4854ec2fee3996bf3.tar.gz |
avcodec/wavpack: initialize pointers to silence warning about them possibly being uninitialized
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/wavpack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/wavpack.c b/libavcodec/wavpack.c index 6f60514a28..a2d82e6c2e 100644 --- a/libavcodec/wavpack.c +++ b/libavcodec/wavpack.c @@ -622,7 +622,7 @@ static int wavpack_decode_block(AVCodecContext *avctx, int block_no, ThreadFrame tframe = { .f = frame }; WavpackFrameContext *s; GetByteContext gb; - void *samples_l, *samples_r; + void *samples_l = NULL, *samples_r = NULL; int ret; int got_terms = 0, got_weights = 0, got_samples = 0, got_entropy = 0, got_bs = 0, got_float = 0, got_hybrid = 0; |