Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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 f58e4ae8be..7d1cf16aee 100644
--- a/libavcodec/rl2.c
+++ b/libavcodec/rl2.c
@@ -220,15 +220,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"),
};