@@ -311,7 +311,7 @@ Filters:
af_afade.c Paul B Mahol
af_amerge.c Nicolas George
af_aphaser.c Paul B Mahol
- af_aresample.c Michael Niedermayer
+ af_resample.c Michael Niedermayer
af_astats.c Paul B Mahol
af_atempo.c Pavel Koshevoy
af_biquads.c Paul B Mahol
@@ -54,7 +54,7 @@ OBJS-$(CONFIG_APERMS_FILTER) += f_perms.o
OBJS-$(CONFIG_APHASER_FILTER) += af_aphaser.o generate_wave_table.o
OBJS-$(CONFIG_APULSATOR_FILTER) += af_apulsator.o
OBJS-$(CONFIG_AREALTIME_FILTER) += f_realtime.o
-OBJS-$(CONFIG_ARESAMPLE_FILTER) += af_aresample.o
+OBJS-$(CONFIG_ARESAMPLE_FILTER) += af_resample.o
OBJS-$(CONFIG_AREVERSE_FILTER) += f_reverse.o
OBJS-$(CONFIG_ASELECT_FILTER) += f_select.o
OBJS-$(CONFIG_ASENDCMD_FILTER) += f_sendcmd.o
similarity index 96%
rename from libavfilter/af_aresample.c
rename to libavfilter/af_resample.c
@@ -338,6 +338,18 @@ static const AVFilterPad aresample_outputs[] = {
{ NULL }
};
+AVFilter ff_af_resample = {
+ .name = "resample",
+ .description = NULL_IF_CONFIG_SMALL("Resample audio data."),
+ .init_dict = init_dict,
+ .uninit = uninit,
+ .query_formats = query_formats,
+ .priv_size = sizeof(AResampleContext),
+ .priv_class = &aresample_class,
+ .inputs = aresample_inputs,
+ .outputs = aresample_outputs,
+};
+
AVFilter ff_af_aresample = {
.name = "aresample",
.description = NULL_IF_CONFIG_SMALL("Resample audio data."),
Meant to be applied on top of the patch which removes af_resample Registers both af_aresample and af_resample as valid filters to mainain compatibility. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com> --- MAINTAINERS | 2 +- libavfilter/Makefile | 2 +- libavfilter/{af_aresample.c => af_resample.c} | 12 ++++++++++++ 3 files changed, 14 insertions(+), 2 deletions(-) rename libavfilter/{af_aresample.c => af_resample.c} (96%)