summaryrefslogtreecommitdiff
path: root/libavcodec/eatgv.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/eatgv.c')
-rw-r--r--libavcodec/eatgv.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/libavcodec/eatgv.c b/libavcodec/eatgv.c
index ee5c094169..917308f571 100644
--- a/libavcodec/eatgv.c
+++ b/libavcodec/eatgv.c
@@ -335,13 +335,12 @@ static av_cold int tgv_decode_end(AVCodecContext *avctx)
}
AVCodec ff_eatgv_decoder = {
- "eatgv",
- AVMEDIA_TYPE_VIDEO,
- CODEC_ID_TGV,
- sizeof(TgvContext),
- tgv_decode_init,
- NULL,
- tgv_decode_end,
- tgv_decode_frame,
+ .name = "eatgv",
+ .type = AVMEDIA_TYPE_VIDEO,
+ .id = CODEC_ID_TGV,
+ .priv_data_size = sizeof(TgvContext),
+ .init = tgv_decode_init,
+ .close = tgv_decode_end,
+ .decode = tgv_decode_frame,
.long_name = NULL_IF_CONFIG_SMALL("Electronic Arts TGV video"),
};