summaryrefslogtreecommitdiff
path: root/libavfilter/vf_vidstabtransform.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/vf_vidstabtransform.c')
-rw-r--r--libavfilter/vf_vidstabtransform.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavfilter/vf_vidstabtransform.c b/libavfilter/vf_vidstabtransform.c
index 3ce4769483..1bd43ff7c9 100644
--- a/libavfilter/vf_vidstabtransform.c
+++ b/libavfilter/vf_vidstabtransform.c
@@ -107,7 +107,7 @@ AVFILTER_DEFINE_CLASS(vidstabtransform);
static av_cold int init(AVFilterContext *ctx)
{
TransformContext *tc = ctx->priv;
- vs_set_mem_and_log_functions();
+ ff_vs_init();
tc->class = &vidstabtransform_class;
av_log(ctx, AV_LOG_VERBOSE, "vidstabtransform filter: init %s\n", LIBVIDSTAB_VERSION);
return 0;
@@ -151,9 +151,9 @@ static int config_input(AVFilterLink *inlink)
VSFrameInfo fi_dest;
if (!vsFrameInfoInit(&fi_src, inlink->w, inlink->h,
- av_2_vs_pixel_format(ctx, inlink->format)) ||
+ ff_av2vs_pixfmt(ctx, inlink->format)) ||
!vsFrameInfoInit(&fi_dest, inlink->w, inlink->h,
- av_2_vs_pixel_format(ctx, inlink->format))) {
+ ff_av2vs_pixfmt(ctx, inlink->format))) {
av_log(ctx, AV_LOG_ERROR, "unknown pixel format: %i (%s)",
inlink->format, desc->name);
return AVERROR(EINVAL);