[FFmpeg-devel] [PATCH 25/34] lavfi/amerge: update deprecated functions
Paul B Mahol
onemda at gmail.com
Sat Jun 16 14:07:58 CEST 2012
Signed-off-by: Paul B Mahol <onemda at gmail.com>
---
libavfilter/af_amerge.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/libavfilter/af_amerge.c b/libavfilter/af_amerge.c
index a8942a1..43d2a75 100644
--- a/libavfilter/af_amerge.c
+++ b/libavfilter/af_amerge.c
@@ -119,8 +119,8 @@ static int query_formats(AVFilterContext *ctx)
if ((inlayout[i] >> c) & 1)
*(route[i]++) = out_ch_number++;
}
- formats = avfilter_make_format_list(ff_packed_sample_fmts_array);
- avfilter_set_common_sample_formats(ctx, formats);
+ formats = ff_make_format_list(ff_packed_sample_fmts_array);
+ ff_set_common_formats(ctx, formats);
for (i = 0; i < am->nb_inputs; i++) {
layouts = NULL;
ff_add_channel_layout(&layouts, inlayout[i]);
@@ -315,7 +315,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args, void *opaque)
.min_perms = AV_PERM_READ | AV_PERM_PRESERVE,
};
snprintf(name, sizeof(name), "in%d", i);
- avfilter_insert_inpad(ctx, i, &pad);
+ ff_insert_inpad(ctx, i, &pad);
}
return 0;
}
--
1.7.7
More information about the ffmpeg-devel
mailing list