diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2017-04-17 03:23:55 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2017-05-11 13:02:12 +0200 |
commit | d712a5cddbfc12e21384f97a291aa64ea7e8005f (patch) | |
tree | f5bb1a5c2a96c8340e7b7c35cfa05edd9063133c | |
parent | ad2296ab3a131d3560c385e43437841987166804 (diff) | |
download | ffmpeg-streaming-d712a5cddbfc12e21384f97a291aa64ea7e8005f.zip ffmpeg-streaming-d712a5cddbfc12e21384f97a291aa64ea7e8005f.tar.gz |
cmdutils_opencl: Fix read of uninitialized pointer
Fixes: CID1396856
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r-- | cmdutils_opencl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdutils_opencl.c b/cmdutils_opencl.c index 655d1c9..f141d1e 100644 --- a/cmdutils_opencl.c +++ b/cmdutils_opencl.c @@ -129,7 +129,7 @@ static int64_t run_opencl_bench(AVOpenCLExternalEnv *ext_opencl_env) cl_int status; size_t kernel_len; char *inbuf; - int *mask; + int *mask = NULL; int buf_size = width * height * sizeof(char); int mask_size = sizeof(uint32_t) * 128; |