aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2015-07-14 13:29:55 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2015-07-14 13:29:55 +0200
commit0ff4953e1be520afc3555d5b3f9629dc9509e46c (patch)
tree3c282b4ef8f32776c177a36afd94aaf3af7a136d
parentfd4c87fa3becaf8a6c480db915daf51e297b76c5 (diff)
downloadffmpeg-0ff4953e1be520afc3555d5b3f9629dc9509e46c.tar.gz
avfilter/vf_ssim: Fix "incompatible pointer type" warnings
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-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 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));