summaryrefslogtreecommitdiff
path: root/libavcodec/4xm.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/4xm.c')
-rw-r--r--libavcodec/4xm.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libavcodec/4xm.c b/libavcodec/4xm.c
index 7996c7a89e..1c4446fe13 100644
--- a/libavcodec/4xm.c
+++ b/libavcodec/4xm.c
@@ -1027,15 +1027,15 @@ static av_cold int decode_init(AVCodecContext *avctx)
return 0;
}
-const AVCodec ff_fourxm_decoder = {
- .name = "4xm",
- .long_name = NULL_IF_CONFIG_SMALL("4X Movie"),
- .type = AVMEDIA_TYPE_VIDEO,
- .id = AV_CODEC_ID_4XM,
+const FFCodec ff_fourxm_decoder = {
+ .p.name = "4xm",
+ .p.long_name = NULL_IF_CONFIG_SMALL("4X Movie"),
+ .p.type = AVMEDIA_TYPE_VIDEO,
+ .p.id = AV_CODEC_ID_4XM,
.priv_data_size = sizeof(FourXContext),
.init = decode_init,
.close = decode_end,
.decode = decode_frame,
- .capabilities = AV_CODEC_CAP_DR1,
+ .p.capabilities = AV_CODEC_CAP_DR1,
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE | FF_CODEC_CAP_INIT_CLEANUP,
};