diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-03-07 00:20:43 +0100 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-04-27 10:43:16 -0300 |
commit | e625ae609206e0550ff733965c6f5447579320aa (patch) | |
tree | 48b0bd2f29ac0469a817b78bf1ecc98784f8ece5 /libavcodec/rv34_parser.c | |
parent | cb3ac722f4fc8d819f663e346bdb53f64a70f1fd (diff) | |
download | ffmpeg-e625ae609206e0550ff733965c6f5447579320aa.tar.gz |
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/rv34_parser.c')
-rw-r--r-- | libavcodec/rv34_parser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/rv34_parser.c b/libavcodec/rv34_parser.c index 765d390550..03469ed0d1 100644 --- a/libavcodec/rv34_parser.c +++ b/libavcodec/rv34_parser.c @@ -77,7 +77,7 @@ static int rv34_parse(AVCodecParserContext *s, } #if CONFIG_RV30_PARSER -AVCodecParser ff_rv30_parser = { +const AVCodecParser ff_rv30_parser = { .codec_ids = { AV_CODEC_ID_RV30 }, .priv_data_size = sizeof(RV34ParseContext), .parser_parse = rv34_parse, @@ -85,7 +85,7 @@ AVCodecParser ff_rv30_parser = { #endif #if CONFIG_RV40_PARSER -AVCodecParser ff_rv40_parser = { +const AVCodecParser ff_rv40_parser = { .codec_ids = { AV_CODEC_ID_RV40 }, .priv_data_size = sizeof(RV34ParseContext), .parser_parse = rv34_parse, |