提交 6b79ef00 编写于 作者: M Michael Niedermayer

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: NMichael Niedermayer <michaelni@gmx.at>
上级 a520d8fd
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册