mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-25 00:10:00 +01:00
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>
This commit is contained in:
committed by
James Almer
parent
cb3ac722f4
commit
e625ae6092
@@ -104,7 +104,7 @@ static int latm_parse(AVCodecParserContext *s1, AVCodecContext *avctx,
|
||||
return next;
|
||||
}
|
||||
|
||||
AVCodecParser ff_aac_latm_parser = {
|
||||
const AVCodecParser ff_aac_latm_parser = {
|
||||
.codec_ids = { AV_CODEC_ID_AAC_LATM },
|
||||
.priv_data_size = sizeof(LATMParseContext),
|
||||
.parser_parse = latm_parse,
|
||||
|
||||
Reference in New Issue
Block a user