diff options
Diffstat (limited to 'libavcodec/loco.c')
-rw-r--r-- | libavcodec/loco.c | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/libavcodec/loco.c b/libavcodec/loco.c index f5807b8..505f566 100644 --- a/libavcodec/loco.c +++ b/libavcodec/loco.c @@ -288,14 +288,13 @@ static av_cold int decode_end(AVCodecContext *avctx){ } AVCodec ff_loco_decoder = { - "loco", - AVMEDIA_TYPE_VIDEO, - CODEC_ID_LOCO, - sizeof(LOCOContext), - decode_init, - NULL, - decode_end, - decode_frame, - CODEC_CAP_DR1, + .name = "loco", + .type = AVMEDIA_TYPE_VIDEO, + .id = CODEC_ID_LOCO, + .priv_data_size = sizeof(LOCOContext), + .init = decode_init, + .close = decode_end, + .decode = decode_frame, + .capabilities = CODEC_CAP_DR1, .long_name = NULL_IF_CONFIG_SMALL("LOCO"), }; |