diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-05-30 10:12:55 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-06-05 09:37:30 +0200 |
commit | b74a1da49db5ebed51aceae6cacc2329288a92c1 (patch) | |
tree | f378b31cc8fdde6de2932826615fed912eec67c0 /libavfilter/af_amix.c | |
parent | 67339f6eb41299096dd7de94f557b487ec3477ff (diff) |
lavfi: make formats API private on next bump.
It is only useful inside filters and we don't allow user filters for
now.
Diffstat (limited to 'libavfilter/af_amix.c')
-rw-r--r-- | libavfilter/af_amix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/af_amix.c b/libavfilter/af_amix.c index d4af9a4234..d33d96ba6e 100644 --- a/libavfilter/af_amix.c +++ b/libavfilter/af_amix.c @@ -525,8 +525,8 @@ static void uninit(AVFilterContext *ctx) static int query_formats(AVFilterContext *ctx) { AVFilterFormats *formats = NULL; - avfilter_add_format(&formats, AV_SAMPLE_FMT_FLT); - avfilter_set_common_formats(ctx, formats); + ff_add_format(&formats, AV_SAMPLE_FMT_FLT); + ff_set_common_formats(ctx, formats); ff_set_common_channel_layouts(ctx, ff_all_channel_layouts()); ff_set_common_samplerates(ctx, ff_all_samplerates()); return 0; |