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/vsrc_testsrc.c | |
parent | 98041afb5f50536fa3edde9bed1a586d6e2e56e8 (diff) | |
download | ffmpeg-streaming-3db407038e9b7e0da2537fc2e19c370c45dba355.zip ffmpeg-streaming-3db407038e9b7e0da2537fc2e19c370c45dba355.tar.gz |
lavfi: use const for AVFilterPad declarations in all filters.
Diffstat (limited to 'libavfilter/vsrc_testsrc.c')
-rw-r--r-- | libavfilter/vsrc_testsrc.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/libavfilter/vsrc_testsrc.c b/libavfilter/vsrc_testsrc.c index f2bbbac..6de1676 100644 --- a/libavfilter/vsrc_testsrc.c +++ b/libavfilter/vsrc_testsrc.c @@ -361,13 +361,13 @@ AVFilter avfilter_vsrc_testsrc = { .query_formats = test_query_formats, - .inputs = (AVFilterPad[]) {{ .name = NULL}}, + .inputs = (const AVFilterPad[]) {{ .name = NULL}}, - .outputs = (AVFilterPad[]) {{ .name = "default", - .type = AVMEDIA_TYPE_VIDEO, - .request_frame = request_frame, - .config_props = config_props, }, - { .name = NULL }}, + .outputs = (const AVFilterPad[]) {{ .name = "default", + .type = AVMEDIA_TYPE_VIDEO, + .request_frame = request_frame, + .config_props = config_props, }, + { .name = NULL }}, }; #endif /* CONFIG_TESTSRC_FILTER */ @@ -488,13 +488,13 @@ AVFilter avfilter_vsrc_rgbtestsrc = { .query_formats = rgbtest_query_formats, - .inputs = (AVFilterPad[]) {{ .name = NULL}}, + .inputs = (const AVFilterPad[]) {{ .name = NULL}}, - .outputs = (AVFilterPad[]) {{ .name = "default", - .type = AVMEDIA_TYPE_VIDEO, - .request_frame = request_frame, - .config_props = rgbtest_config_props, }, - { .name = NULL }}, + .outputs = (const AVFilterPad[]) {{ .name = "default", + .type = AVMEDIA_TYPE_VIDEO, + .request_frame = request_frame, + .config_props = rgbtest_config_props, }, + { .name = NULL }}, }; #endif /* CONFIG_RGBTESTSRC_FILTER */ |