diff options
Diffstat (limited to 'libavcodec/h261_parser.c')
-rw-r--r-- | libavcodec/h261_parser.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/libavcodec/h261_parser.c b/libavcodec/h261_parser.c index 20c2862549..fb50acfc4a 100644 --- a/libavcodec/h261_parser.c +++ b/libavcodec/h261_parser.c @@ -82,9 +82,8 @@ static int h261_parse(AVCodecParserContext *s, } AVCodecParser ff_h261_parser = { - { CODEC_ID_H261 }, - sizeof(ParseContext), - NULL, - h261_parse, - ff_parse_close, + .codec_ids = { CODEC_ID_H261 }, + .priv_data_size = sizeof(ParseContext), + .parser_parse = h261_parse, + .parser_close = ff_parse_close, }; |