diff options
Diffstat (limited to 'libavcodec/dxa.c')
-rw-r--r-- | libavcodec/dxa.c | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/libavcodec/dxa.c b/libavcodec/dxa.c index 75f3212232..97b912a61a 100644 --- a/libavcodec/dxa.c +++ b/libavcodec/dxa.c @@ -318,15 +318,14 @@ static av_cold int decode_end(AVCodecContext *avctx) } AVCodec ff_dxa_decoder = { - "dxa", - AVMEDIA_TYPE_VIDEO, - CODEC_ID_DXA, - sizeof(DxaDecContext), - decode_init, - NULL, - decode_end, - decode_frame, - CODEC_CAP_DR1, + .name = "dxa", + .type = AVMEDIA_TYPE_VIDEO, + .id = CODEC_ID_DXA, + .priv_data_size = sizeof(DxaDecContext), + .init = decode_init, + .close = decode_end, + .decode = decode_frame, + .capabilities = CODEC_CAP_DR1, .long_name = NULL_IF_CONFIG_SMALL("Feeble Files/ScummVM DXA"), }; |