aboutsummaryrefslogtreecommitdiff
path: root/libavcodec/rl2.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/rl2.c')
-rw-r--r--libavcodec/rl2.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/libavcodec/rl2.c b/libavcodec/rl2.c
index 59f9bfb134..7e3bd9cdde 100644
--- a/libavcodec/rl2.c
+++ b/libavcodec/rl2.c
@@ -219,15 +219,14 @@ static av_cold int rl2_decode_end(AVCodecContext *avctx)
AVCodec ff_rl2_decoder = {
- "rl2",
- AVMEDIA_TYPE_VIDEO,
- CODEC_ID_RL2,
- sizeof(Rl2Context),
- rl2_decode_init,
- NULL,
- rl2_decode_end,
- rl2_decode_frame,
- CODEC_CAP_DR1,
+ .name = "rl2",
+ .type = AVMEDIA_TYPE_VIDEO,
+ .id = CODEC_ID_RL2,
+ .priv_data_size = sizeof(Rl2Context),
+ .init = rl2_decode_init,
+ .close = rl2_decode_end,
+ .decode = rl2_decode_frame,
+ .capabilities = CODEC_CAP_DR1,
.long_name = NULL_IF_CONFIG_SMALL("RL2 video"),
};