Commit 22c47b10 authored by Andreas Rheinhardt's avatar Andreas Rheinhardt

avcodec/vvc_parser: Constify parser

The discrepancy between the definition and the declaration
in parsers.c is actually UB.
Reviewed-by: 's avatarJames Almer <jamrial@gmail.com>
Signed-off-by: 's avatarAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
parent e132fae1
......@@ -571,7 +571,7 @@ static void vvc_parser_close(AVCodecParserContext *s)
av_freep(&ctx->pc.buffer);
}
AVCodecParser ff_vvc_parser = {
const AVCodecParser ff_vvc_parser = {
.codec_ids = { AV_CODEC_ID_VVC },
.priv_data_size = sizeof(VVCParserContext),
.parser_init = vvc_parser_init,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment