lavfi: use const for AVFilterPad declarations in all filters.
This commit is contained in:
parent
98041afb5f
commit
3db407038e
47 changed files with 511 additions and 505 deletions
|
|
@ -118,9 +118,9 @@ AVFilter avfilter_vsrc_nullsrc = {
|
|||
.init = init,
|
||||
.priv_size = sizeof(NullContext),
|
||||
|
||||
.inputs = (AVFilterPad[]) {{ .name = NULL}},
|
||||
.inputs = (const AVFilterPad[]) {{ .name = NULL}},
|
||||
|
||||
.outputs = (AVFilterPad[]) {
|
||||
.outputs = (const AVFilterPad[]) {
|
||||
{
|
||||
.name = "default",
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue