[FFmpeg-cvslog] cmdutils_opencl: Fix read of uninitialized pointer
Michael Niedermayer
git at videolan.org
Thu May 11 14:03:22 EEST 2017
ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Mon Apr 17 03:23:55 2017 +0200| [d712a5cddbfc12e21384f97a291aa64ea7e8005f] | committer: Michael Niedermayer
cmdutils_opencl: Fix read of uninitialized pointer
Fixes: CID1396856
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d712a5cddbfc12e21384f97a291aa64ea7e8005f
---
cmdutils_opencl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmdutils_opencl.c b/cmdutils_opencl.c
index 655d1c9546..f141d1e243 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;
More information about the ffmpeg-cvslog
mailing list