Browse Source

cmdutils_opencl: Fix read of uninitialized pointer

Fixes: CID1396856

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n3.4
Michael Niedermayer 8 years ago
parent
commit
d712a5cddb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      cmdutils_opencl.c

+ 1
- 1
cmdutils_opencl.c View File

@@ -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;



Loading…
Cancel
Save