avfilter/f_select: fix incompatible pointer type warning
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 5 May 2014 03:51:50 +0000 (05:51 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 5 May 2014 03:51:50 +0000 (05:51 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/f_select.c

index 4d18cbc..c7c53b4 100644 (file)
@@ -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;
             }