mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
libavutil/opencl: fixed uninitialized var warning
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
84417593b9
commit
6b852a3fd9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user