summaryrefslogtreecommitdiff
path: root/libavcodec/cdtoons.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/cdtoons.c')
-rw-r--r--libavcodec/cdtoons.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libavcodec/cdtoons.c b/libavcodec/cdtoons.c
index b9d4e6429c..e99d703e53 100644
--- a/libavcodec/cdtoons.c
+++ b/libavcodec/cdtoons.c
@@ -443,16 +443,16 @@ static av_cold int cdtoons_decode_end(AVCodecContext *avctx)
return 0;
}
-const AVCodec ff_cdtoons_decoder = {
- .name = "cdtoons",
- .long_name = NULL_IF_CONFIG_SMALL("CDToons video"),
- .type = AVMEDIA_TYPE_VIDEO,
- .id = AV_CODEC_ID_CDTOONS,
+const FFCodec ff_cdtoons_decoder = {
+ .p.name = "cdtoons",
+ .p.long_name = NULL_IF_CONFIG_SMALL("CDToons video"),
+ .p.type = AVMEDIA_TYPE_VIDEO,
+ .p.id = AV_CODEC_ID_CDTOONS,
.priv_data_size = sizeof(CDToonsContext),
.init = cdtoons_decode_init,
.close = cdtoons_decode_end,
.decode = cdtoons_decode_frame,
- .capabilities = AV_CODEC_CAP_DR1,
+ .p.capabilities = AV_CODEC_CAP_DR1,
.flush = cdtoons_flush,
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};