From c9e183b490add7e3712974fec85db6c86c13b671 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sat, 16 Jun 2012 09:47:46 +0000 Subject: lavfi: update some deprecated functions Signed-off-by: Paul B Mahol --- libavfilter/af_aconvert.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libavfilter/af_aconvert.c') diff --git a/libavfilter/af_aconvert.c b/libavfilter/af_aconvert.c index 9e2785641d..3cf593b723 100644 --- a/libavfilter/af_aconvert.c +++ b/libavfilter/af_aconvert.c @@ -75,14 +75,14 @@ static int query_formats(AVFilterContext *ctx) AVFilterLink *outlink = ctx->outputs[0]; AVFilterChannelLayouts *layouts; - avfilter_formats_ref(avfilter_make_all_formats(AVMEDIA_TYPE_AUDIO), + ff_formats_ref(avfilter_make_all_formats(AVMEDIA_TYPE_AUDIO), &inlink->out_formats); if (aconvert->out_sample_fmt != AV_SAMPLE_FMT_NONE) { formats = NULL; - avfilter_add_format(&formats, aconvert->out_sample_fmt); - avfilter_formats_ref(formats, &outlink->in_formats); + ff_add_format(&formats, aconvert->out_sample_fmt); + ff_formats_ref(formats, &outlink->in_formats); } else - avfilter_formats_ref(avfilter_make_all_formats(AVMEDIA_TYPE_AUDIO), + ff_formats_ref(avfilter_make_all_formats(AVMEDIA_TYPE_AUDIO), &outlink->in_formats); ff_channel_layouts_ref(ff_all_channel_layouts(), -- cgit v1.2.3