Browse Source

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

Found-by: jamrial
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n4.2
Michael Niedermayer 7 years ago
parent
commit
c15972f0af
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/tests/rangecoder.c

+ 1
- 1
libavcodec/tests/rangecoder.c View File

@@ -29,7 +29,7 @@
int main(void)
{
RangeCoder c;
uint8_t b[9 * SIZE];
uint8_t b[9 * SIZE] = {0};
uint8_t r[9 * SIZE];
int i, p, actual_length, version;
uint8_t state[10];


Loading…
Cancel
Save