summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerome Jiang <jianj@google.com>2018-04-12 15:05:58 -0700
committerJerome Jiang <jianj@google.com>2018-04-12 15:07:03 -0700
commit546a21025929aaea1ce6a2598616057f1959c653 (patch)
tree6e54eb4217aa41cb36f11692db0bc386f66bd88f
parentc9a459216dc3d33db60147d14caad58c586f354b (diff)
downloadlibvpx-546a21025929aaea1ce6a2598616057f1959c653.tar
libvpx-546a21025929aaea1ce6a2598616057f1959c653.tar.gz
libvpx-546a21025929aaea1ce6a2598616057f1959c653.tar.bz2
libvpx-546a21025929aaea1ce6a2598616057f1959c653.zip
Silence warning when built with --enable-internal-stats.
Change-Id: I3a600a9baf2b8e46c109f4ec2b5bd6bafda4bf58
-rw-r--r--vpx_dsp/ssim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vpx_dsp/ssim.c b/vpx_dsp/ssim.c
index 7a29bd29f..ba73eb293 100644
--- a/vpx_dsp/ssim.c
+++ b/vpx_dsp/ssim.c
@@ -284,7 +284,7 @@ double vpx_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;