aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/af_aformat.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2011-09-13 01:46:29 +0200
committerStefano Sabatini <stefasab@gmail.com>2011-09-16 00:42:47 +0200
commit9899037dc6b246f2eeb7e0255c316749372fe1ae (patch)
treef3aa2650d5fb63f567fd31fe1edabda917480203 /libavfilter/af_aformat.c
parent98b906e1af789e9bc9930c2d2bfa3d0798405e21 (diff)
downloadffmpeg-9899037dc6b246f2eeb7e0255c316749372fe1ae.tar.gz
lavfi: rename avfilter_all_* function names to avfilter_make_all_*
A function name should tell what the function does rather than what the function returns. This also avoids possible conflicts (e.g. between a function and a public list of all supported formats), and clarifies the code. Breaks audio API/ABI, add a backward compatibility layer for video API/ABI.
Diffstat (limited to 'libavfilter/af_aformat.c')
-rw-r--r--libavfilter/af_aformat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavfilter/af_aformat.c b/libavfilter/af_aformat.c
index 0eb7dfa4e2..a7aa45f0b1 100644
--- a/libavfilter/af_aformat.c
+++ b/libavfilter/af_aformat.c
@@ -63,9 +63,9 @@ static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque)
if (*args) \
args++;
- ADD_FORMATS(avfilter_all_formats(AVMEDIA_TYPE_AUDIO), sample_format, int, formats);
- ADD_FORMATS(avfilter_all_channel_layouts(), channel_layout, int64_t, chlayouts);
- ADD_FORMATS(avfilter_all_packing_formats(), packing_format, int, packing);
+ ADD_FORMATS(avfilter_make_all_formats(AVMEDIA_TYPE_AUDIO), sample_format, int, formats);
+ ADD_FORMATS(avfilter_make_all_channel_layouts(), channel_layout, int64_t, chlayouts);
+ ADD_FORMATS(avfilter_make_all_packing_formats(), packing_format, int, packing);
return 0;