summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/probetest.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/probetest.c b/tools/probetest.c
index 29c27e4..b13c6f9 100644
--- a/tools/probetest.c
+++ b/tools/probetest.c
@@ -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)) {
OpenPOWER on IntegriCloud