Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2012-11-28 23:01:59 +0400
committerClément Bœsch <ubitux@gmail.com>2012-11-29 02:19:20 +0400
commit2d9d4440519f22c092ac37ccd1a1a914564d00b5 (patch)
tree8bad56e7faafe0c7d28f9211855f6e4d169c88d9 /libavfilter/af_amerge.c
parentbff576c779476c5325edb2e90828051138416759 (diff)
lavfi: convert remaining input/output list compound literals to named objects.
This is following 568c70e79ee267426c15ef4603c69703f6a5884a.
Diffstat (limited to 'libavfilter/af_amerge.c')
-rw-r--r--libavfilter/af_amerge.c23
1 files changed, 13 insertions, 10 deletions
diff --git a/libavfilter/af_amerge.c b/libavfilter/af_amerge.c
index 61770b4340..44b71e4acb 100644
--- a/libavfilter/af_amerge.c
+++ b/libavfilter/af_amerge.c
@@ -323,6 +323,16 @@ static av_cold int init(AVFilterContext *ctx, const char *args)
return 0;
}
+static const AVFilterPad amerge_outputs[] = {
+ {
+ .name = "default",
+ .type = AVMEDIA_TYPE_AUDIO,
+ .config_props = config_output,
+ .request_frame = request_frame,
+ },
+ { NULL }
+};
+
AVFilter avfilter_af_amerge = {
.name = "amerge",
.description = NULL_IF_CONFIG_SMALL("Merge two audio streams into "
@@ -331,14 +341,7 @@ AVFilter avfilter_af_amerge = {
.init = init,
.uninit = uninit,
.query_formats = query_formats,
-
- .inputs = (const AVFilterPad[]) { { .name = NULL } },
- .outputs = (const AVFilterPad[]) {
- { .name = "default",
- .type = AVMEDIA_TYPE_AUDIO,
- .config_props = config_output,
- .request_frame = request_frame, },
- { .name = NULL }
- },
- .priv_class = &amerge_class,
+ .inputs = NULL,
+ .outputs = amerge_outputs,
+ .priv_class = &amerge_class,
};