diff options
author | dsmudhar <ds.mudhar@gmail.com> | 2016-05-22 06:29:27 +0530 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-05-23 11:28:03 +0200 |
commit | 6b852a3fd94210779491d51441a3439831841a55 (patch) | |
tree | 6768e810df3cdf6593fee0f206e7684f75b344b8 /libavutil | |
parent | 84417593b9daeba7e0668a0f64229d12f28a2411 (diff) | |
download | ffmpeg-6b852a3fd94210779491d51441a3439831841a55.tar.gz |
libavutil/opencl: fixed uninitialized var warning
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/opencl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/opencl.c b/libavutil/opencl.c index 08b50341c0..af35770e06 100644 --- a/libavutil/opencl.c +++ b/libavutil/opencl.c @@ -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; |