From fb1be6303d9bbb085640d14e6b8868e0d5e4387d Mon Sep 17 00:00:00 2001 From: Peter Cordes Date: Mon, 2 Mar 2015 22:57:08 -0400 Subject: avfilter/vf_mpdecimate: pass the same AVClass context as use elsewhere to av_pixelutils_get_sad_fn() Signed-off-by: Peter Cordes --- libavfilter/vf_mpdecimate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavfilter') 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); -- cgit v1.2.3