Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-03-07 02:20:43 +0300
committerJames Almer <jamrial@gmail.com>2021-04-27 16:43:16 +0300
commite625ae609206e0550ff733965c6f5447579320aa (patch)
tree48b0bd2f29ac0469a817b78bf1ecc98784f8ece5 /libavcodec/g729_parser.c
parentcb3ac722f4fc8d819f663e346bdb53f64a70f1fd (diff)
avcodec: Constify all the AVCodecParsers
Possible now that the next pointer no longer exists. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/g729_parser.c')
-rw-r--r--libavcodec/g729_parser.c2
1 files changed, 1 insertions, 1 deletions
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,