[FFmpeg-cvslog] avfilter/f_select: fix incompatible pointer type warning

Michael Niedermayer git at videolan.org
Mon May 5 06:03:18 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon May  5 05:51:50 2014 +0200| [6bd1741231d33f2e2e4eb9c36f1fbd62ec44ee8a] | committer: Michael Niedermayer

avfilter/f_select: fix incompatible pointer type warning

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

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

diff --git a/libavfilter/f_select.c b/libavfilter/f_select.c
index 4d18cbc..c7c53b4 100644
--- a/libavfilter/f_select.c
+++ b/libavfilter/f_select.c
@@ -271,7 +271,7 @@ static double get_scene_score(AVFilterContext *ctx, AVFrame *frame)
 
         for (y = 0; y < frame->height - 8; y += 8) {
             for (x = 0; x < frame->width*3 - 8; x += 8) {
-                sad += select->c.sad[1](select, p1 + x, p2 + x,
+                sad += select->c.sad[1](NULL, p1 + x, p2 + x,
                                         linesize, 8);
                 nb_sad += 8 * 8;
             }



More information about the ffmpeg-cvslog mailing list