summaryrefslogtreecommitdiffstats
path: root/libavfilter/f_select.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-07-25 21:56:13 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-07-26 13:21:07 +0200
commitc0a586d9d5cd99e9f36e4d190f9aa137803378dc (patch)
tree1a293a6c72150ff755e8ee0bff97d11bf2975f6c /libavfilter/f_select.c
parent9a6ca20ef6755af33bdf4c8a2fbc60fdb36e9b42 (diff)
downloadffmpeg-streaming-c0a586d9d5cd99e9f36e4d190f9aa137803378dc.zip
ffmpeg-streaming-c0a586d9d5cd99e9f36e4d190f9aa137803378dc.tar.gz
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.c6
1 files changed, 3 insertions, 3 deletions
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;
OpenPOWER on IntegriCloud