Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-05-07 04:13:56 +0400
committerMichael Niedermayer <michaelni@gmx.at>2014-05-07 04:13:56 +0400
commit326463893beb5acbda1765a4854ec2fee3996bf3 (patch)
tree4eaf3b78a5edec57f348a42d335585d945646159 /libavcodec/wavpack.c
parent84655bdaed9c768da32fbe0493f41198a4b547d6 (diff)
avcodec/wavpack: initialize pointers to silence warning about them possibly being uninitialized
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/wavpack.c')
-rw-r--r--libavcodec/wavpack.c2
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;