avcodec/tests/rangecoder: initialize array to avoid valgrind warning
Found-by: jamrial Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit c15972f0af7679b466dd4a10a54ab2f04f9372c8) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
792df36f42
commit
3a52cae2c7
@ -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;
|
int i;
|
||||||
uint8_t state[10];
|
uint8_t state[10];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user