summaryrefslogtreecommitdiff
path: root/libavcodec/avs2_parser.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-03-07 00:20:43 +0100
committerJames Almer <jamrial@gmail.com>2021-04-27 10:43:16 -0300
commite625ae609206e0550ff733965c6f5447579320aa (patch)
tree48b0bd2f29ac0469a817b78bf1ecc98784f8ece5 /libavcodec/avs2_parser.c
parentcb3ac722f4fc8d819f663e346bdb53f64a70f1fd (diff)
downloadffmpeg-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/avs2_parser.c')
-rw-r--r--libavcodec/avs2_parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/avs2_parser.c b/libavcodec/avs2_parser.c
index 54f687142f..059faf77c5 100644
--- a/libavcodec/avs2_parser.c
+++ b/libavcodec/avs2_parser.c
@@ -86,7 +86,7 @@ static int avs2_parse(AVCodecParserContext *s, AVCodecContext *avctx,
return next;
}
-AVCodecParser ff_avs2_parser = {
+const AVCodecParser ff_avs2_parser = {
.codec_ids = { AV_CODEC_ID_AVS2 },
.priv_data_size = sizeof(ParseContext),
.parser_parse = avs2_parse,