X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fanm.c;h=b84aef1c1b9fa7085eae6e79bc2f0e0320fea860;hb=f1b5693027d48a9e448f21595fb9247893c225cf;hp=02244f70e1c0df1abec5f0fc308beb3be90a0afc;hpb=173cd695cbb79a50a0738ce7bcc966cb40f4a28a;p=ffmpeg diff --git a/libavcodec/anm.c b/libavcodec/anm.c index 02244f70e1c..b84aef1c1b9 100644 --- a/libavcodec/anm.c +++ b/libavcodec/anm.c @@ -184,14 +184,13 @@ static av_cold int decode_end(AVCodecContext *avctx) } AVCodec ff_anm_decoder = { - "anm", - AVMEDIA_TYPE_VIDEO, - CODEC_ID_ANM, - sizeof(AnmContext), - decode_init, - NULL, - decode_end, - decode_frame, - CODEC_CAP_DR1, + .name = "anm", + .type = AVMEDIA_TYPE_VIDEO, + .id = CODEC_ID_ANM, + .priv_data_size = sizeof(AnmContext), + .init = decode_init, + .close = decode_end, + .decode = decode_frame, + .capabilities = CODEC_CAP_DR1, .long_name = NULL_IF_CONFIG_SMALL("Deluxe Paint Animation"), };