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/sipr_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/sipr_parser.c') diff --git a/libavcodec/sipr_parser.c b/libavcodec/sipr_parser.c index fba25e1028..e01da3c8a8 100644 --- a/libavcodec/sipr_parser.c +++ b/libavcodec/sipr_parser.c @@ -66,7 +66,7 @@ static int sipr_parse(AVCodecParserContext *s1, AVCodecContext *avctx, return next; } -AVCodecParser ff_sipr_parser = { +const AVCodecParser ff_sipr_parser = { .codec_ids = { AV_CODEC_ID_SIPR }, .priv_data_size = sizeof(SiprParserContext), .parser_parse = sipr_parse, -- cgit v1.2.3