diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-05-03 22:52:17 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-05-03 22:52:17 +0200 |
commit | 6b79ef00fdac510f77ec983a7500b576f8efaa8e (patch) | |
tree | 2fd3daca4b5ee45e8f3ce022e4aacf7c84c1bc8c /libavfilter/vf_deshake.c | |
parent | a520d8fd35800fb5b0b7d338740984c2a16bc909 (diff) | |
download | ffmpeg-6b79ef00fdac510f77ec983a7500b576f8efaa8e.tar.gz |
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 <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/vf_deshake.c')
-rw-r--r-- | libavfilter/vf_deshake.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |