Commit c15972f0 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/tests/rangecoder: initialize array to avoid valgrind warning

Found-by: jamrial
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 6e23736a
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
int main(void) int main(void)
{ {
RangeCoder c; RangeCoder c;
uint8_t b[9 * SIZE]; uint8_t b[9 * SIZE] = {0};
uint8_t r[9 * SIZE]; uint8_t r[9 * SIZE];
int i, p, actual_length, version; int i, p, actual_length, version;
uint8_t state[10]; uint8_t state[10];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment