summaryrefslogtreecommitdiff
path: root/chromium/third_party/libvpx/source/libvpx/vpx_dsp/ssim.c
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/libvpx/source/libvpx/vpx_dsp/ssim.c')
-rw-r--r--chromium/third_party/libvpx/source/libvpx/vpx_dsp/ssim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/third_party/libvpx/source/libvpx/vpx_dsp/ssim.c b/chromium/third_party/libvpx/source/libvpx/vpx_dsp/ssim.c
index 7a29bd29f9f..ba73eb293a4 100644
--- a/chromium/third_party/libvpx/source/libvpx/vpx_dsp/ssim.c
+++ b/chromium/third_party/libvpx/source/libvpx/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;