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/g729_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/g729_parser.c') diff --git a/libavcodec/g729_parser.c b/libavcodec/g729_parser.c index 010f688104..76d6f93808 100644 --- a/libavcodec/g729_parser.c +++ b/libavcodec/g729_parser.c @@ -82,7 +82,7 @@ static int g729_parse(AVCodecParserContext *s1, AVCodecContext *avctx, return next; } -AVCodecParser ff_g729_parser = { +const AVCodecParser ff_g729_parser = { .codec_ids = { AV_CODEC_ID_G729, AV_CODEC_ID_ACELP_KELVIN }, .priv_data_size = sizeof(G729ParseContext), .parser_parse = g729_parse, -- cgit v1.2.3