summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmdutils_opencl.c2
1 files changed, 1 insertions, 1 deletions
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;