[FFmpeg-cvslog] avfilter/vf_mpdecimate: pass the same AVClass context as use elsewhere to av_pixelutils_get_sad_fn ()
Peter Cordes
git at videolan.org
Sun May 31 13:01:53 CEST 2015
ffmpeg | branch: master | Peter Cordes <peter at 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 <peter at 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);
More information about the ffmpeg-cvslog
mailing list