git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
84655bd
)
avcodec/wavpack: initialize pointers to silence warning about them possibly being...
author
Michael Niedermayer
<michaelni@gmx.at>
Wed, 7 May 2014 00:13:56 +0000
(
02:13
+0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 7 May 2014 00:13:56 +0000
(
02:13
+0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/wavpack.c
patch
|
blob
|
history
diff --git
a/libavcodec/wavpack.c
b/libavcodec/wavpack.c
index
6f60514
..
a2d82e6
100644
(file)
--- 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;