summaryrefslogtreecommitdiff
path: root/libavfilter/f_select.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-05-05 05:51:50 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-05-05 05:51:50 +0200
commit6bd1741231d33f2e2e4eb9c36f1fbd62ec44ee8a (patch)
treec98d076d887a22be8441b5765bd65bfa1ad9c8ae /libavfilter/f_select.c
parentebf2c2c3a818338e508aa9b6e4e81ab2b2bc2d16 (diff)
downloadffmpeg-6bd1741231d33f2e2e4eb9c36f1fbd62ec44ee8a.tar.gz
avfilter/f_select: fix incompatible pointer type warning
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/f_select.c')
-rw-r--r--libavfilter/f_select.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/f_select.c b/libavfilter/f_select.c
index 4d18cbc237..c7c53b43ed 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;
}