diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-07-25 23:56:13 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-07-26 15:21:07 +0400 |
commit | c0a586d9d5cd99e9f36e4d190f9aa137803378dc (patch) | |
tree | 1a293a6c72150ff755e8ee0bff97d11bf2975f6c /libavfilter/f_select.c | |
parent | 9a6ca20ef6755af33bdf4c8a2fbc60fdb36e9b42 (diff) |
reintroduce avpriv_dsputil_init() to maintain ABI until next soname bump
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/f_select.c')
-rw-r--r-- | libavfilter/f_select.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavfilter/f_select.c b/libavfilter/f_select.c index 3579665bcb..c7c53b43ed 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; |