Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-05-04 00:52:17 +0400
committerMichael Niedermayer <michaelni@gmx.at>2014-05-04 00:52:17 +0400
commit6b79ef00fdac510f77ec983a7500b576f8efaa8e (patch)
tree2fd3daca4b5ee45e8f3ce022e4aacf7c84c1bc8c
parenta520d8fd35800fb5b0b7d338740984c2a16bc909 (diff)
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>
-rw-r--r--libavfilter/vf_deshake.c2
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)