diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2012-07-21 09:45:52 -0700 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2012-07-21 16:31:15 -0700 |
commit | 3db407038e9b7e0da2537fc2e19c370c45dba355 (patch) | |
tree | 4609a4af4bb1783422918de1b70a507c028b50ac /libavfilter/vf_format.c | |
parent | 98041afb5f50536fa3edde9bed1a586d6e2e56e8 (diff) | |
download | ffmpeg-3db407038e9b7e0da2537fc2e19c370c45dba355.tar.gz |
lavfi: use const for AVFilterPad declarations in all filters.
Diffstat (limited to 'libavfilter/vf_format.c')
-rw-r--r-- | libavfilter/vf_format.c | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/libavfilter/vf_format.c b/libavfilter/vf_format.c index b9251a19fc..8528b0b3ff 100644 --- a/libavfilter/vf_format.c +++ b/libavfilter/vf_format.c @@ -105,16 +105,16 @@ AVFilter avfilter_vf_format = { .priv_size = sizeof(FormatContext), - .inputs = (AVFilterPad[]) {{ .name = "default", - .type = AVMEDIA_TYPE_VIDEO, - .get_video_buffer= ff_null_get_video_buffer, - .start_frame = ff_null_start_frame, - .draw_slice = ff_null_draw_slice, - .end_frame = ff_null_end_frame, }, - { .name = NULL}}, - .outputs = (AVFilterPad[]) {{ .name = "default", - .type = AVMEDIA_TYPE_VIDEO }, - { .name = NULL}}, + .inputs = (const AVFilterPad[]) {{ .name = "default", + .type = AVMEDIA_TYPE_VIDEO, + .get_video_buffer= ff_null_get_video_buffer, + .start_frame = ff_null_start_frame, + .draw_slice = ff_null_draw_slice, + .end_frame = ff_null_end_frame, }, + { .name = NULL}}, + .outputs = (const AVFilterPad[]) {{ .name = "default", + .type = AVMEDIA_TYPE_VIDEO }, + { .name = NULL}}, }; #endif /* CONFIG_FORMAT_FILTER */ @@ -135,15 +135,15 @@ AVFilter avfilter_vf_noformat = { .priv_size = sizeof(FormatContext), - .inputs = (AVFilterPad[]) {{ .name = "default", - .type = AVMEDIA_TYPE_VIDEO, - .get_video_buffer= ff_null_get_video_buffer, - .start_frame = ff_null_start_frame, - .draw_slice = ff_null_draw_slice, - .end_frame = ff_null_end_frame, }, - { .name = NULL}}, - .outputs = (AVFilterPad[]) {{ .name = "default", - .type = AVMEDIA_TYPE_VIDEO }, - { .name = NULL}}, + .inputs = (const AVFilterPad[]) {{ .name = "default", + .type = AVMEDIA_TYPE_VIDEO, + .get_video_buffer= ff_null_get_video_buffer, + .start_frame = ff_null_start_frame, + .draw_slice = ff_null_draw_slice, + .end_frame = ff_null_end_frame, }, + { .name = NULL}}, + .outputs = (const AVFilterPad[]) {{ .name = "default", + .type = AVMEDIA_TYPE_VIDEO }, + { .name = NULL}}, }; #endif /* CONFIG_NOFORMAT_FILTER */ |