diff options
author | Paul B Mahol <onemda@gmail.com> | 2012-06-16 13:47:46 +0400 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2012-06-16 19:15:16 +0400 |
commit | c9e183b490add7e3712974fec85db6c86c13b671 (patch) | |
tree | 6e37906365fa636b76294e9b34f85084dab7bc15 /libavfilter/af_aconvert.c | |
parent | 0354412aa3722a29e9842369fb718f1d22e7d693 (diff) |
lavfi: update some deprecated functions
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter/af_aconvert.c')
-rw-r--r-- | libavfilter/af_aconvert.c | 8 |
1 files changed, 4 insertions, 4 deletions
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(), |