X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavfilter%2Fvf_split.c;h=ee46ad08c1a000cf805910a1ef34c9b041d7884b;hb=8fb03b4d7043712733d4a306b1d31f6e6bfa464e;hp=cbebf264fa7f2bf42d4507588a544b78ba9ee23e;hpb=bd4ebbbbed47761df65dd574dce6d3c56d29e2e7;p=ffmpeg diff --git a/libavfilter/vf_split.c b/libavfilter/vf_split.c index cbebf264fa7..ee46ad08c1a 100644 --- a/libavfilter/vf_split.c +++ b/libavfilter/vf_split.c @@ -51,14 +51,14 @@ AVFilter avfilter_vf_split = { .name = "split", .description = NULL_IF_CONFIG_SMALL("Pass on the input to two outputs."), - .inputs = (AVFilterPad[]) {{ .name = "default", + .inputs = (const AVFilterPad[]) {{ .name = "default", .type = AVMEDIA_TYPE_VIDEO, .get_video_buffer= avfilter_null_get_video_buffer, .start_frame = start_frame, .draw_slice = draw_slice, .end_frame = end_frame, }, { .name = NULL}}, - .outputs = (AVFilterPad[]) {{ .name = "output1", + .outputs = (const AVFilterPad[]) {{ .name = "output1", .type = AVMEDIA_TYPE_VIDEO, }, { .name = "output2", .type = AVMEDIA_TYPE_VIDEO, },