diff options
author | Peter Cordes <peter@cordes.ca> | 2015-03-03 05:57:08 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-05-31 13:55:23 +0300 |
commit | fb1be6303d9bbb085640d14e6b8868e0d5e4387d (patch) | |
tree | 4b0ebae456560c239c1bcadc5d1a3ba7357082a9 | |
parent | b60c445965b512552c5b4b143f76e8b59004b28f (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>
-rw-r--r-- | libavfilter/vf_mpdecimate.c | 2 |
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); |