avfilter/vf_ssim: Fix "incompatible pointer type" warnings
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 14 Jul 2015 11:29:55 +0000 (13:29 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 14 Jul 2015 11:29:55 +0000 (13:29 +0200)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavfilter/vf_ssim.c

index b5a61ee..5cd9361 100644 (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));