ffmpeg | branch: master | Peter Cordes <pe...@cordes.ca> | Mon Mar 2 22:57:08 2015 -0400| [fb1be6303d9bbb085640d14e6b8868e0d5e4387d] | committer: Michael Niedermayer
avfilter/vf_mpdecimate: pass the same AVClass context as use elsewhere to av_pixelutils_get_sad_fn() Signed-off-by: Peter Cordes <pe...@cordes.ca> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fb1be6303d9bbb085640d14e6b8868e0d5e4387d --- libavfilter/vf_mpdecimate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog