aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/defaults.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2012-06-16 09:47:46 +0000
committerPaul B Mahol <onemda@gmail.com>2012-06-16 15:15:16 +0000
commitc9e183b490add7e3712974fec85db6c86c13b671 (patch)
tree6e37906365fa636b76294e9b34f85084dab7bc15 /libavfilter/defaults.c
parent0354412aa3722a29e9842369fb718f1d22e7d693 (diff)
downloadffmpeg-c9e183b490add7e3712974fec85db6c86c13b671.tar.gz
lavfi: update some deprecated functions
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter/defaults.c')
-rw-r--r--libavfilter/defaults.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libavfilter/defaults.c b/libavfilter/defaults.c
index c25c037c2a..c18eacd23a 100644
--- a/libavfilter/defaults.c
+++ b/libavfilter/defaults.c
@@ -34,13 +34,11 @@ static void set_common_formats(AVFilterContext *ctx, AVFilterFormats *fmts,
int i;
for (i = 0; i < ctx->input_count; i++)
if (ctx->inputs[i] && ctx->inputs[i]->type == type)
- avfilter_formats_ref(fmts,
- (AVFilterFormats **)((uint8_t *)ctx->inputs[i]+offout));
+ ff_formats_ref(fmts, (AVFilterFormats **)((uint8_t *)ctx->inputs[i]+offout));
for (i = 0; i < ctx->output_count; i++)
if (ctx->outputs[i] && ctx->outputs[i]->type == type)
- avfilter_formats_ref(fmts,
- (AVFilterFormats **)((uint8_t *)ctx->outputs[i]+offin));
+ ff_formats_ref(fmts, (AVFilterFormats **)((uint8_t *)ctx->outputs[i]+offin));
if (!fmts->refcount) {
av_free(fmts->formats);