From e625ae609206e0550ff733965c6f5447579320aa Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Sun, 7 Mar 2021 00:20:43 +0100 Subject: avcodec: Constify all the AVCodecParsers Possible now that the next pointer no longer exists. Signed-off-by: Andreas Rheinhardt Signed-off-by: James Almer --- libavcodec/cri_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/cri_parser.c') diff --git a/libavcodec/cri_parser.c b/libavcodec/cri_parser.c index 9790747a9e..9295f823ce 100644 --- a/libavcodec/cri_parser.c +++ b/libavcodec/cri_parser.c @@ -97,7 +97,7 @@ static int cri_parse(AVCodecParserContext *s, AVCodecContext *avctx, return next; } -AVCodecParser ff_cri_parser = { +const AVCodecParser ff_cri_parser = { .codec_ids = { AV_CODEC_ID_CRI }, .priv_data_size = sizeof(CRIParser), .parser_parse = cri_parse, -- cgit v1.2.3