X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fvqavideo.c;h=67721097efcd2a2e7a3bd277084f620d36098ad0;hb=ada49f936eaafe12365c7b962355d6dcfbfc4029;hp=91ae687d0665f7000e26900615ecfae46113d274;hpb=3c3daf4d198306295e3342631f19422bdc258dbb;p=ffmpeg diff --git a/libavcodec/vqavideo.c b/libavcodec/vqavideo.c index 91ae687d066..67721097efc 100644 --- a/libavcodec/vqavideo.c +++ b/libavcodec/vqavideo.c @@ -601,14 +601,13 @@ static av_cold int vqa_decode_end(AVCodecContext *avctx) } AVCodec ff_vqa_decoder = { - "vqavideo", - AVMEDIA_TYPE_VIDEO, - CODEC_ID_WS_VQA, - sizeof(VqaContext), - vqa_decode_init, - NULL, - vqa_decode_end, - vqa_decode_frame, - CODEC_CAP_DR1, + .name = "vqavideo", + .type = AVMEDIA_TYPE_VIDEO, + .id = CODEC_ID_WS_VQA, + .priv_data_size = sizeof(VqaContext), + .init = vqa_decode_init, + .close = vqa_decode_end, + .decode = vqa_decode_frame, + .capabilities = CODEC_CAP_DR1, .long_name = NULL_IF_CONFIG_SMALL("Westwood Studios VQA (Vector Quantized Animation) video"), };