[FFmpeg-devel] [PATCH 32/34] lavfi/silencedetect: update deprecated functions
Paul B Mahol
onemda at gmail.com
Sat Jun 16 14:08:05 CEST 2012
Signed-off-by: Paul B Mahol <onemda at gmail.com>
---
libavfilter/af_silencedetect.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavfilter/af_silencedetect.c b/libavfilter/af_silencedetect.c
index 27191cd..331ea87 100644
--- a/libavfilter/af_silencedetect.c
+++ b/libavfilter/af_silencedetect.c
@@ -137,10 +137,10 @@ static int query_formats(AVFilterContext *ctx)
return AVERROR(ENOMEM);
ff_set_common_channel_layouts(ctx, layouts);
- formats = avfilter_make_format_list(sample_fmts);
+ formats = ff_make_format_list(sample_fmts);
if (!formats)
return AVERROR(ENOMEM);
- avfilter_set_common_sample_formats(ctx, formats);
+ ff_set_common_formats(ctx, formats);
formats = ff_all_samplerates();
if (!formats)
--
1.7.7
More information about the ffmpeg-devel
mailing list