Commit 6b852a3f authored by dsmudhar's avatar dsmudhar Committed by Michael Niedermayer

libavutil/opencl: fixed uninitialized var warning

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 84417593
......@@ -445,7 +445,7 @@ cl_program av_opencl_compile(const char *program_name, const char *build_opts)
int i;
cl_int status, build_status;
int kernel_code_idx = 0;
const char *kernel_source;
const char *kernel_source = NULL;
size_t kernel_code_len;
char* ptr = NULL;
cl_program program = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment