diff options
author | Paul B Mahol <onemda@gmail.com> | 2012-06-16 09:47:46 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2012-06-16 15:15:16 +0000 |
commit | c9e183b490add7e3712974fec85db6c86c13b671 (patch) | |
tree | 6e37906365fa636b76294e9b34f85084dab7bc15 /libavfilter/af_aresample.c | |
parent | 0354412aa3722a29e9842369fb718f1d22e7d693 (diff) | |
download | ffmpeg-c9e183b490add7e3712974fec85db6c86c13b671.tar.gz |
lavfi: update some deprecated functions
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter/af_aresample.c')
-rw-r--r-- | libavfilter/af_aresample.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libavfilter/af_aresample.c b/libavfilter/af_aresample.c index 8ead3147a9..81f326ff47 100644 --- a/libavfilter/af_aresample.c +++ b/libavfilter/af_aresample.c @@ -91,29 +91,29 @@ static int query_formats(AVFilterContext *ctx) AVFilterLink *inlink = ctx->inputs[0]; AVFilterLink *outlink = ctx->outputs[0]; - AVFilterFormats *in_formats = avfilter_all_formats(AVMEDIA_TYPE_AUDIO); + AVFilterFormats *in_formats = ff_all_formats(AVMEDIA_TYPE_AUDIO); AVFilterFormats *out_formats; AVFilterFormats *in_samplerates = ff_all_samplerates(); AVFilterFormats *out_samplerates; AVFilterChannelLayouts *in_layouts = ff_all_channel_layouts(); AVFilterChannelLayouts *out_layouts; - avfilter_formats_ref (in_formats, &inlink->out_formats); - avfilter_formats_ref (in_samplerates, &inlink->out_samplerates); + ff_formats_ref (in_formats, &inlink->out_formats); + ff_formats_ref (in_samplerates, &inlink->out_samplerates); ff_channel_layouts_ref(in_layouts, &inlink->out_channel_layouts); if(out_rate > 0) { - out_samplerates = avfilter_make_format_list((int[]){ out_rate, -1 }); + out_samplerates = ff_make_format_list((int[]){ out_rate, -1 }); } else { out_samplerates = ff_all_samplerates(); } - avfilter_formats_ref(out_samplerates, &outlink->in_samplerates); + ff_formats_ref(out_samplerates, &outlink->in_samplerates); if(out_format != AV_SAMPLE_FMT_NONE) { - out_formats = avfilter_make_format_list((int[]){ out_format, -1 }); + out_formats = ff_make_format_list((int[]){ out_format, -1 }); } else out_formats = avfilter_make_all_formats(AVMEDIA_TYPE_AUDIO); - avfilter_formats_ref(out_formats, &outlink->in_formats); + ff_formats_ref(out_formats, &outlink->in_formats); if(out_layout) { out_layouts = avfilter_make_format64_list((int64_t[]){ out_layout, -1 }); |