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/av1_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/av1_parser.c') diff --git a/libavcodec/av1_parser.c b/libavcodec/av1_parser.c index 6a76ffb7bc..578f5293c8 100644 --- a/libavcodec/av1_parser.c +++ b/libavcodec/av1_parser.c @@ -227,7 +227,7 @@ static int av1_parser_split(AVCodecContext *avctx, return 0; } -AVCodecParser ff_av1_parser = { +const AVCodecParser ff_av1_parser = { .codec_ids = { AV_CODEC_ID_AV1 }, .priv_data_size = sizeof(AV1ParseContext), .parser_init = av1_parser_init, -- cgit v1.2.3