You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-11-23 21:54:53 +02:00
Mark AVFilterPad[] compound literals as const.
GCC 4.6.2 at least still seems to fail to put them in .rodata though, see also http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37303 Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
This commit is contained in:
@@ -322,8 +322,8 @@ AVFilter avfilter_vsrc_movie = {
|
||||
.uninit = movie_common_uninit,
|
||||
.query_formats = movie_query_formats,
|
||||
|
||||
.inputs = (AVFilterPad[]) {{ .name = NULL }},
|
||||
.outputs = (AVFilterPad[]) {{ .name = "default",
|
||||
.inputs = (const AVFilterPad[]) {{ .name = NULL }},
|
||||
.outputs = (const AVFilterPad[]) {{ .name = "default",
|
||||
.type = AVMEDIA_TYPE_VIDEO,
|
||||
.request_frame = movie_request_frame,
|
||||
.config_props = movie_config_output_props, },
|
||||
@@ -463,8 +463,8 @@ AVFilter avfilter_asrc_amovie = {
|
||||
.uninit = movie_common_uninit,
|
||||
.query_formats = amovie_query_formats,
|
||||
|
||||
.inputs = (AVFilterPad[]) {{ .name = NULL }},
|
||||
.outputs = (AVFilterPad[]) {{ .name = "default",
|
||||
.inputs = (const AVFilterPad[]) {{ .name = NULL }},
|
||||
.outputs = (const AVFilterPad[]) {{ .name = "default",
|
||||
.type = AVMEDIA_TYPE_AUDIO,
|
||||
.request_frame = amovie_request_frame,
|
||||
.config_props = amovie_config_output_props, },
|
||||
|
||||
Reference in New Issue
Block a user