summaryrefslogtreecommitdiff
path: root/libavfilter/vf_mpdecimate.c
diff options
context:
space:
mode:
authorPeter Cordes <peter@cordes.ca>2015-03-02 22:57:08 -0400
committerMichael Niedermayer <michaelni@gmx.at>2015-05-31 12:55:23 +0200
commitfb1be6303d9bbb085640d14e6b8868e0d5e4387d (patch)
tree4b0ebae456560c239c1bcadc5d1a3ba7357082a9 /libavfilter/vf_mpdecimate.c
parentb60c445965b512552c5b4b143f76e8b59004b28f (diff)
avfilter/vf_mpdecimate: pass the same AVClass context as use elsewhere to av_pixelutils_get_sad_fn()
Signed-off-by: Peter Cordes <peter@cordes.ca>
Diffstat (limited to 'libavfilter/vf_mpdecimate.c')
-rw-r--r--libavfilter/vf_mpdecimate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_mpdecimate.c b/libavfilter/vf_mpdecimate.c
index 5504ffebd6..5c41de7992 100644
--- a/libavfilter/vf_mpdecimate.c
+++ b/libavfilter/vf_mpdecimate.c
@@ -131,7 +131,7 @@ static av_cold int init(AVFilterContext *ctx)
{
DecimateContext *decimate = ctx->priv;
- decimate->sad = av_pixelutils_get_sad_fn(3, 3, 0, decimate); // 8x8, not aligned on blocksize
+ decimate->sad = av_pixelutils_get_sad_fn(3, 3, 0, ctx); // 8x8, not aligned on blocksize
if (!decimate->sad)
return AVERROR(EINVAL);