From 6b79ef00fdac510f77ec983a7500b576f8efaa8e Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 3 May 2014 22:52:17 +0200 Subject: avfilter/vf_deshake: dont pass the wrong context into the SAD functions This fixes pointer type warnings The context should have been unused so this should not fix any real bug Signed-off-by: Michael Niedermayer --- libavfilter/vf_deshake.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavfilter') diff --git a/libavfilter/vf_deshake.c b/libavfilter/vf_deshake.c index f77a9bd445..6cfb171629 100644 --- a/libavfilter/vf_deshake.c +++ b/libavfilter/vf_deshake.c @@ -132,7 +132,7 @@ static void find_block_motion(DeshakeContext *deshake, uint8_t *src1, int smallest = INT_MAX; int tmp, tmp2; - #define CMP(i, j) deshake->c.sad[0](deshake, src1 + cy * stride + cx, \ + #define CMP(i, j) deshake->c.sad[0](NULL, src1 + cy * stride + cx, \ src2 + (j) * stride + (i), stride, \ deshake->blocksize) -- cgit v1.2.3