diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-03-07 02:20:43 +0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-04-27 16:43:16 +0300 |
commit | e625ae609206e0550ff733965c6f5447579320aa (patch) | |
tree | 48b0bd2f29ac0469a817b78bf1ecc98784f8ece5 /libavcodec/vc1_parser.c | |
parent | cb3ac722f4fc8d819f663e346bdb53f64a70f1fd (diff) |
avcodec: Constify all the AVCodecParsers
Possible now that the next pointer no longer exists.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/vc1_parser.c')
-rw-r--r-- | libavcodec/vc1_parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vc1_parser.c b/libavcodec/vc1_parser.c index 1a9d3c0140..0f17d299e1 100644 --- a/libavcodec/vc1_parser.c +++ b/libavcodec/vc1_parser.c @@ -287,7 +287,7 @@ static av_cold int vc1_parse_init(AVCodecParserContext *s) return 0; } -AVCodecParser ff_vc1_parser = { +const AVCodecParser ff_vc1_parser = { .codec_ids = { AV_CODEC_ID_VC1 }, .priv_data_size = sizeof(VC1ParseContext), .parser_init = vc1_parse_init, |