summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Coval <philippe.coval@open.eurogiciel.org>2015-01-13 11:09:57 +0100
committerPhilippe Coval <philippe.coval@open.eurogiciel.org>2015-01-13 11:31:24 +0100
commit9ffc32731bacbfec2cef3d9fb5eb4c0c43952b90 (patch)
tree268ed506de63e8582c358d58f31ed187467df11c
parent5b979df3557bb5fc82b73fd0e26b3dd0e6ad428a (diff)
downloadlibva-intel-driver-9ffc32731bacbfec2cef3d9fb5eb4c0c43952b90.tar.gz
libva-intel-driver-9ffc32731bacbfec2cef3d9fb5eb4c0c43952b90.tar.bz2
libva-intel-driver-9ffc32731bacbfec2cef3d9fb5eb4c0c43952b90.zip
uninit_use_in_call: Using unitialized value vpp_kernels when calling *vpp_gpe_ctx->gpe_load_kernels Change-Id: Id02c018db996e5fed7b5b573baa6425968060152 Bug-Tizen: TC-2098/part Forwarded: https://bugs.freedesktop.org/show_bug.cgi?id=88362 Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
-rw-r--r--src/gen75_vpp_gpe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gen75_vpp_gpe.c b/src/gen75_vpp_gpe.c
index 042e4e6..16dd8db 100644
--- a/src/gen75_vpp_gpe.c
+++ b/src/gen75_vpp_gpe.c
@@ -648,7 +648,7 @@ vpp_gpe_process_sharpening(VADriverContextP ctx,
if(vpp_gpe_ctx->is_first_frame){
vpp_gpe_ctx->sub_shader_sum = 3;
- struct i965_kernel * vpp_kernels;
+ struct i965_kernel * vpp_kernels = 0;
if (IS_HASWELL(i965->intel.device_info))
vpp_kernels = gen75_vpp_sharpening_kernels;
else if (IS_GEN8(i965->intel.device_info))