mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 12:09:55 +00:00
cmdutils_opencl: Fix read of uninitialized pointer
Fixes: CID1396856 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
ad2296ab3a
commit
d712a5cddb
@ -129,7 +129,7 @@ static int64_t run_opencl_bench(AVOpenCLExternalEnv *ext_opencl_env)
|
|||||||
cl_int status;
|
cl_int status;
|
||||||
size_t kernel_len;
|
size_t kernel_len;
|
||||||
char *inbuf;
|
char *inbuf;
|
||||||
int *mask;
|
int *mask = NULL;
|
||||||
int buf_size = width * height * sizeof(char);
|
int buf_size = width * height * sizeof(char);
|
||||||
int mask_size = sizeof(uint32_t) * 128;
|
int mask_size = sizeof(uint32_t) * 128;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user