diff options
-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 5504ffe..5c41de7 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); |