summaryrefslogtreecommitdiff
path: root/libavfilter/avf_aphasemeter.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/avf_aphasemeter.c')
-rw-r--r--libavfilter/avf_aphasemeter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/avf_aphasemeter.c b/libavfilter/avf_aphasemeter.c
index a31805f204..bd3ad1ac61 100644
--- a/libavfilter/avf_aphasemeter.c
+++ b/libavfilter/avf_aphasemeter.c
@@ -355,7 +355,7 @@ static av_cold int init(AVFilterContext *ctx)
.name = "out0",
.type = AVMEDIA_TYPE_AUDIO,
};
- ret = ff_insert_outpad(ctx, 0, &pad);
+ ret = ff_append_outpad(ctx, &pad);
if (ret < 0)
return ret;
@@ -365,7 +365,7 @@ static av_cold int init(AVFilterContext *ctx)
.type = AVMEDIA_TYPE_VIDEO,
.config_props = config_video_output,
};
- ret = ff_insert_outpad(ctx, 1, &pad);
+ ret = ff_append_outpad(ctx, &pad);
if (ret < 0)
return ret;
}