avfilter/vf_ssim: fix some cosmetics issues

Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
Paul B Mahol 2015-06-30 02:20:28 +00:00
parent a9aed08fa4
commit 185e76976e

View File

@ -139,7 +139,7 @@ static float ssim_end4(int sum0[5][4], int sum1[5][4], int width)
float ssim = 0.0;
int i;
for( i = 0; i < width; i++ )
for (i = 0; i < width; i++)
ssim += ssim_end1(sum0[i][0] + sum0[i + 1][0] + sum1[i][0] + sum1[i + 1][0],
sum0[i][1] + sum0[i + 1][1] + sum1[i][1] + sum1[i + 1][1],
sum0[i][2] + sum0[i + 1][2] + sum1[i][2] + sum1[i + 1][2],