aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_ssim.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2015-06-30 02:20:28 +0000
committerPaul B Mahol <onemda@gmail.com>2015-06-30 02:52:33 +0000
commit185e76976e8291d42f82972d0b7e103ef4b2d8cd (patch)
treeac2bd3e08bc84612bf3ff43dc6296c71c854b6a8 /libavfilter/vf_ssim.c
parenta9aed08fa4e94b19afe343b11e6eea117da5408a (diff)
downloadffmpeg-185e76976e8291d42f82972d0b7e103ef4b2d8cd.tar.gz
avfilter/vf_ssim: fix some cosmetics issues
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter/vf_ssim.c')
-rw-r--r--libavfilter/vf_ssim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_ssim.c b/libavfilter/vf_ssim.c
index 604fb44bb6..57b9074a66 100644
--- a/libavfilter/vf_ssim.c
+++ b/libavfilter/vf_ssim.c
@@ -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],