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
@@ -86,7 +86,7 @@ static int h261_parse(AVCodecParserContext *s,
|
||||
return next;
|
||||
}
|
||||
|
||||
AVCodecParser ff_h261_parser = {
|
||||
const AVCodecParser ff_h261_parser = {
|
||||
.codec_ids = { AV_CODEC_ID_H261 },
|
||||
.priv_data_size = sizeof(ParseContext),
|
||||
.parser_parse = h261_parse,
|
||||
|
||||
Reference in New Issue
Block a user