summaryrefslogtreecommitdiff
path: root/libavcodec/h263_parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/h263_parser.c')
-rw-r--r--libavcodec/h263_parser.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/libavcodec/h263_parser.c b/libavcodec/h263_parser.c
index 4b9fc110f2..98a72d92a9 100644
--- a/libavcodec/h263_parser.c
+++ b/libavcodec/h263_parser.c
@@ -84,9 +84,8 @@ static int h263_parse(AVCodecParserContext *s,
}
AVCodecParser ff_h263_parser = {
- { CODEC_ID_H263 },
- sizeof(ParseContext),
- NULL,
- h263_parse,
- ff_parse_close,
+ .codec_ids = { CODEC_ID_H263 },
+ .priv_data_size = sizeof(ParseContext),
+ .parser_parse = h263_parse,
+ .parser_close = ff_parse_close,
};