diff options
Diffstat (limited to 'libavcodec/vc1_parser.c')
-rw-r--r-- | libavcodec/vc1_parser.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/libavcodec/vc1_parser.c b/libavcodec/vc1_parser.c index c4c15b326d..c660c9cd0d 100644 --- a/libavcodec/vc1_parser.c +++ b/libavcodec/vc1_parser.c @@ -185,10 +185,9 @@ static int vc1_split(AVCodecContext *avctx, } AVCodecParser ff_vc1_parser = { - { CODEC_ID_VC1 }, - sizeof(VC1ParseContext), - NULL, - vc1_parse, - ff_parse1_close, - vc1_split, + .codec_ids = { CODEC_ID_VC1 }, + .priv_data_size = sizeof(VC1ParseContext), + .parser_parse = vc1_parse, + .parser_close = ff_parse1_close, + .split = vc1_split, }; |