]> git.sesse.net Git - ffmpeg/blobdiff - libavutil/opencl.c
avfilter/af_loudnorm: add dual_mono option
[ffmpeg] / libavutil / opencl.c
index 08b50341c04d728b6c5fb1d065b9817f2b752c7c..af35770e0654de02a38b1d135bdef0be6bee32c3 100644 (file)
@@ -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;