[FFmpeg-cvslog] avfilter/vf_ssim: Fix "incompatible pointer type" warnings

Michael Niedermayer git at videolan.org
Tue Jul 14 16:12:48 CEST 2015


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Tue Jul 14 13:29:55 2015 +0200| [0ff4953e1be520afc3555d5b3f9629dc9509e46c] | committer: Michael Niedermayer

avfilter/vf_ssim: Fix "incompatible pointer type" warnings

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0ff4953e1be520afc3555d5b3f9629dc9509e46c
---

 libavfilter/vf_ssim.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_ssim.c b/libavfilter/vf_ssim.c
index b5a61ee..5cd9361 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));



More information about the ffmpeg-cvslog mailing list