diff options
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(), |