X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fvb.c;h=622ea89790716b4b1b2ecd650b90f8ed4414596f;hb=bfadca1faf7eb131d15181a8d0df2bb5c2662b37;hp=3fb59cf377429794f91644adc70c812dd1ed2773;hpb=78accb876c173c881082018b169b5cf9fa13e6e1;p=ffmpeg diff --git a/libavcodec/vb.c b/libavcodec/vb.c index 3fb59cf3774..622ea897907 100644 --- a/libavcodec/vb.c +++ b/libavcodec/vb.c @@ -289,14 +289,13 @@ static av_cold int decode_end(AVCodecContext *avctx) } AVCodec ff_vb_decoder = { - "vb", - AVMEDIA_TYPE_VIDEO, - CODEC_ID_VB, - sizeof(VBDecContext), - decode_init, - NULL, - decode_end, - decode_frame, + .name = "vb", + .type = AVMEDIA_TYPE_VIDEO, + .id = CODEC_ID_VB, + .priv_data_size = sizeof(VBDecContext), + .init = decode_init, + .close = decode_end, + .decode = decode_frame, .long_name = NULL_IF_CONFIG_SMALL("Beam Software VB"), };