avfilter/vf_ssim: Fix "incompatible pointer type" warnings

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
pull/140/head
Michael Niedermayer 10 years ago
parent fd4c87fa3b
commit 0ff4953e1b
  1. 2
      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));

Loading…
Cancel
Save