Browse Source

avfilter/vf_ssim: Fix "incompatible pointer type" warnings

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n2.8
Michael Niedermayer 10 years ago
parent
commit
0ff4953e1b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/vf_ssim.c

+ 1
- 1
libavfilter/vf_ssim.c View File

@@ -168,7 +168,7 @@ static float ssim_plane(SSIMDSPContext *dsp,
sum0, width);
}

ssim += dsp->ssim_end_line(sum0, sum1, width - 1);
ssim += dsp->ssim_end_line((const int (*)[4])sum0, (const int (*)[4])sum1, width - 1);
}

return ssim / ((height - 1) * (width - 1));


Loading…
Cancel
Save