From 0ff4953e1be520afc3555d5b3f9629dc9509e46c Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 14 Jul 2015 13:29:55 +0200 Subject: avfilter/vf_ssim: Fix "incompatible pointer type" warnings Signed-off-by: Michael Niedermayer --- libavfilter/vf_ssim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavfilter/vf_ssim.c') diff --git a/libavfilter/vf_ssim.c b/libavfilter/vf_ssim.c index b5a61ee344..5cd9361f1f 100644 --- a/libavfilter/vf_ssim.c +++ b/libavfilter/vf_ssim.c @@ -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)); -- cgit v1.2.3