[FFmpeg-cvslog] avfilter/vf_deshake: dont pass the wrong context into the SAD functions
Michael Niedermayer
git at videolan.org
Sat May 3 23:14:09 CEST 2014
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat May 3 22:52:17 2014 +0200| [6b79ef00fdac510f77ec983a7500b576f8efaa8e] | committer: 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: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6b79ef00fdac510f77ec983a7500b576f8efaa8e
---
libavfilter/vf_deshake.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/vf_deshake.c b/libavfilter/vf_deshake.c
index f77a9bd..6cfb171 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)
More information about the ffmpeg-cvslog
mailing list