Commit 976175fb authored by Michael Niedermayer's avatar Michael Niedermayer

probetest: fix possible use of uninitialized data

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 755038d0
......@@ -84,6 +84,8 @@ int main(int argc, char **argv)
pd.buf = av_realloc(pd.buf, size + AVPROBE_PADDING_SIZE);
pd.filename = "";
memset(pd.buf, 0, size + AVPROBE_PADDING_SIZE);
fprintf(stderr, "testing size=%d\n", size);
for (retry = 0; retry < retry_count; retry += FFMAX(size, 32)) {
......
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