diff options
Diffstat (limited to 'libavfilter/sink_buffer.c')
-rw-r--r-- | libavfilter/sink_buffer.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavfilter/sink_buffer.c b/libavfilter/sink_buffer.c index 1c4996708a..bfbec7d555 100644 --- a/libavfilter/sink_buffer.c +++ b/libavfilter/sink_buffer.c @@ -188,12 +188,12 @@ AVFilter avfilter_vsink_buffersink = { .query_formats = vsink_query_formats, - .inputs = (AVFilterPad[]) {{ .name = "default", + .inputs = (const AVFilterPad[]) {{ .name = "default", .type = AVMEDIA_TYPE_VIDEO, .end_frame = end_frame, .min_perms = AV_PERM_READ, }, { .name = NULL }}, - .outputs = (AVFilterPad[]) {{ .name = NULL }}, + .outputs = (const AVFilterPad[]) {{ .name = NULL }}, }; #endif /* CONFIG_BUFFERSINK_FILTER */ @@ -252,12 +252,12 @@ AVFilter avfilter_asink_abuffersink = { .priv_size = sizeof(BufferSinkContext), .query_formats = asink_query_formats, - .inputs = (AVFilterPad[]) {{ .name = "default", + .inputs = (const AVFilterPad[]) {{ .name = "default", .type = AVMEDIA_TYPE_AUDIO, .filter_samples = filter_samples, .min_perms = AV_PERM_READ, }, { .name = NULL }}, - .outputs = (AVFilterPad[]) {{ .name = NULL }}, + .outputs = (const AVFilterPad[]) {{ .name = NULL }}, }; #endif /* CONFIG_ABUFFERSINK_FILTER */ |