summaryrefslogtreecommitdiff
path: root/libavfilter/buffersrc.c
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2012-09-16 12:58:49 +0100
committerMans Rullgard <mans@mansr.com>2012-09-17 14:35:06 +0100
commit1fce361d70296cb9f8828f58bf26cd1ce4e8a47a (patch)
tree00e96b6d6ea36b266dc7d107bfd506002485ffd9 /libavfilter/buffersrc.c
parent2f34021d57b1343bb01b377a4797bef7cbc7be3c (diff)
downloadffmpeg-1fce361d70296cb9f8828f58bf26cd1ce4e8a47a.tar.gz
lavfi: replace empty input/output lists with null pointers
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavfilter/buffersrc.c')
-rw-r--r--libavfilter/buffersrc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/buffersrc.c b/libavfilter/buffersrc.c
index 8e344cbac8..e91d2e470b 100644
--- a/libavfilter/buffersrc.c
+++ b/libavfilter/buffersrc.c
@@ -364,7 +364,7 @@ AVFilter avfilter_vsrc_buffer = {
.init = init_video,
.uninit = uninit,
- .inputs = (const AVFilterPad[]) {{ .name = NULL }},
+ .inputs = NULL,
.outputs = (const AVFilterPad[]) {{ .name = "default",
.type = AVMEDIA_TYPE_VIDEO,
.request_frame = request_frame,
@@ -382,7 +382,7 @@ AVFilter avfilter_asrc_abuffer = {
.init = init_audio,
.uninit = uninit,
- .inputs = (const AVFilterPad[]) {{ .name = NULL }},
+ .inputs = NULL,
.outputs = (const AVFilterPad[]) {{ .name = "default",
.type = AVMEDIA_TYPE_AUDIO,
.request_frame = request_frame,