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/adx_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/adx_parser.c') diff --git a/libavcodec/adx_parser.c b/libavcodec/adx_parser.c index 1fa718f694..52aa14b7ad 100644 --- a/libavcodec/adx_parser.c +++ b/libavcodec/adx_parser.c @@ -88,7 +88,7 @@ static int adx_parse(AVCodecParserContext *s1, return next; } -AVCodecParser ff_adx_parser = { +const AVCodecParser ff_adx_parser = { .codec_ids = { AV_CODEC_ID_ADPCM_ADX }, .priv_data_size = sizeof(ADXParseContext), .parser_parse = adx_parse, -- cgit v1.2.3