From c0a586d9d5cd99e9f36e4d190f9aa137803378dc Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 25 Jul 2014 21:56:13 +0200 Subject: reintroduce avpriv_dsputil_init() to maintain ABI until next soname bump Signed-off-by: Michael Niedermayer --- libavfilter/f_select.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libavfilter/f_select.c') diff --git a/libavfilter/f_select.c b/libavfilter/f_select.c index 3579665..c7c53b4 100644 --- a/libavfilter/f_select.c +++ b/libavfilter/f_select.c @@ -35,7 +35,7 @@ #include "video.h" #if CONFIG_AVCODEC -#include "libavcodec/me_cmp.h" +#include "libavcodec/dsputil.h" #endif static const char *const var_names[] = { @@ -146,7 +146,7 @@ typedef struct SelectContext { int do_scene_detect; ///< 1 if the expression requires scene detection variables, 0 otherwise #if CONFIG_AVCODEC AVCodecContext *avctx; ///< codec context required for the DSPContext (scene detect only) - MECmpContext c; ///< context providing optimized SAD methods (scene detect only) + DSPContext c; ///< context providing optimized SAD methods (scene detect only) double prev_mafd; ///< previous MAFD (scene detect only) #endif AVFrame *prev_picref; ///< previous frame (scene detect only) @@ -245,7 +245,7 @@ static int config_input(AVFilterLink *inlink) select->avctx = avcodec_alloc_context3(NULL); if (!select->avctx) return AVERROR(ENOMEM); - ff_me_cmp_init(&select->c, select->avctx); + avpriv_dsputil_init(&select->c, select->avctx); } #endif return 0; -- cgit v1.1