mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-06-16 04:32:47 +02:00
avfilter: Constify all AVFilters
This is possible now that the next-API is gone. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
committed by
James Almer
parent
85ba17f36d
commit
a04ad248a0
@@ -327,7 +327,7 @@ static int query_formats(AVFilterContext *ctx)
|
||||
return 0;
|
||||
}
|
||||
|
||||
AVFilter ff_vf_streamselect = {
|
||||
const AVFilter ff_vf_streamselect = {
|
||||
.name = "streamselect",
|
||||
.description = NULL_IF_CONFIG_SMALL("Select video streams"),
|
||||
.init = init,
|
||||
@@ -343,7 +343,7 @@ AVFilter ff_vf_streamselect = {
|
||||
#define astreamselect_options streamselect_options
|
||||
AVFILTER_DEFINE_CLASS(astreamselect);
|
||||
|
||||
AVFilter ff_af_astreamselect = {
|
||||
const AVFilter ff_af_astreamselect = {
|
||||
.name = "astreamselect",
|
||||
.description = NULL_IF_CONFIG_SMALL("Select audio streams"),
|
||||
.init = init,
|
||||
|
||||
Reference in New Issue
Block a user