From 8d471fcee21b0d33ec7b0980addedd4d38324c5a Mon Sep 17 00:00:00 2001 From: Scott LaVarnway Date: Tue, 14 Nov 2017 04:38:00 -0800 Subject: [PATCH] tiny_ssim.c : clang compile error fix Change-Id: Ic10ba580fd5da7d6ff7fa0f33db72fb0c1a97801 --- tools/tiny_ssim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/tiny_ssim.c b/tools/tiny_ssim.c index 17ea81ded..5e8ca02b4 100644 --- a/tools/tiny_ssim.c +++ b/tools/tiny_ssim.c @@ -396,7 +396,7 @@ double get_ssim_metrics(uint8_t *img1, int img1_pitch, uint8_t *img2, for (i = 0; i < height; i += 4, img1 += img1_pitch * 4, img2 += img2_pitch * 4) { for (j = 0; j < width; j += 4, ++c) { - Ssimv sv = { 0 }; + Ssimv sv = { 0, 0, 0, 0, 0, 0 }; double ssim; double ssim2; double dssim;