summaryrefslogtreecommitdiff
path: root/libavfilter/af_mcompand.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/af_mcompand.c')
-rw-r--r--libavfilter/af_mcompand.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libavfilter/af_mcompand.c b/libavfilter/af_mcompand.c
index 9bce9ae7a1..0ae84221b6 100644
--- a/libavfilter/af_mcompand.c
+++ b/libavfilter/af_mcompand.c
@@ -638,7 +638,6 @@ static const AVFilterPad mcompand_inputs[] = {
.type = AVMEDIA_TYPE_AUDIO,
.filter_frame = filter_frame,
},
- { NULL }
};
static const AVFilterPad mcompand_outputs[] = {
@@ -648,7 +647,6 @@ static const AVFilterPad mcompand_outputs[] = {
.request_frame = request_frame,
.config_props = config_output,
},
- { NULL }
};
@@ -660,6 +658,6 @@ const AVFilter ff_af_mcompand = {
.priv_size = sizeof(MCompandContext),
.priv_class = &mcompand_class,
.uninit = uninit,
- .inputs = mcompand_inputs,
- .outputs = mcompand_outputs,
+ FILTER_INPUTS(mcompand_inputs),
+ FILTER_OUTPUTS(mcompand_outputs),
};