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_earwax.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_earwax.c')
-rw-r--r-- | libavfilter/af_earwax.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavfilter/af_earwax.c b/libavfilter/af_earwax.c index d4884f0624..d86b410a1e 100644 --- a/libavfilter/af_earwax.c +++ b/libavfilter/af_earwax.c @@ -82,11 +82,11 @@ static int query_formats(AVFilterContext *ctx) AVFilterFormats *formats = NULL; AVFilterChannelLayouts *layout = NULL; - avfilter_add_format(&formats, AV_SAMPLE_FMT_S16); - avfilter_set_common_sample_formats(ctx, formats); + ff_add_format(&formats, AV_SAMPLE_FMT_S16); + ff_set_common_formats(ctx, formats); ff_add_channel_layout(&layout, AV_CH_LAYOUT_STEREO); ff_set_common_channel_layouts(ctx, layout); - ff_set_common_samplerates(ctx, avfilter_make_format_list(sample_rates)); + ff_set_common_samplerates(ctx, ff_make_format_list(sample_rates)); return 0; } |