History

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

Michael Niedermayer committed 7 years ago

Commit c15972f1 parent 6e237361 file · +1 −1Browse files

Unified · Split

libavcodec/tests/rangecoder.c+1−1
@@ -29,7 +29,7 @@ · 28 unmodified lines
2929 int main(void)
3030 {
3131 RangeCoder c;
32− uint8_t b[9 * SIZE];
32+ uint8_t b[9 * SIZE] = {0};
3333 uint8_t r[9 * SIZE];
3434 int i, p, actual_length, version;
3535 uint8_t state[10];

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t