diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-10-31 13:16:52 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-10-31 13:16:52 +0100 |
commit | 976175fbe559527389bff397b3174a27b20ab715 (patch) | |
tree | 63a60c8df64e829f86a08070ca75eb1d2933de71 /tools | |
parent | 755038d07d4ca8a3aa20a3cc6c4d86a8a0c1177d (diff) | |
download | ffmpeg-streaming-976175fbe559527389bff397b3174a27b20ab715.zip ffmpeg-streaming-976175fbe559527389bff397b3174a27b20ab715.tar.gz |
probetest: fix possible use of uninitialized data
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/probetest.c | 2 |
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)) { |