From 1e3104cd3cd12886f6054d56fab4b7bc1c31f594 Mon Sep 17 00:00:00 2001 From: Clément Bœsch Date: Sun, 14 Apr 2013 04:34:06 +0200 Subject: Add avpriv_dsputil_init() and use it in lavfi where relevant. dsputil_init() is deprecated and not meant to be exported. ff_dsputil_init() is internal to libavcodec and thus can not be used. avpriv_dsputil_init() is the version shared between libraries. This commit fixes 3 unjustified libavfilter deprecated warnings. --- libavfilter/vf_mpdecimate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavfilter/vf_mpdecimate.c') diff --git a/libavfilter/vf_mpdecimate.c b/libavfilter/vf_mpdecimate.c index 55f0f27ae0..2e386f7df6 100644 --- a/libavfilter/vf_mpdecimate.c +++ b/libavfilter/vf_mpdecimate.c @@ -139,7 +139,7 @@ static av_cold int init(AVFilterContext *ctx) decimate->avctx = avcodec_alloc_context3(NULL); if (!decimate->avctx) return AVERROR(ENOMEM); - dsputil_init(&decimate->dspctx, decimate->avctx); + avpriv_dsputil_init(&decimate->dspctx, decimate->avctx); return 0; } -- cgit v1.2.3