summaryrefslogtreecommitdiff
path: root/libavcodec/indeo2.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/indeo2.c')
-rw-r--r--libavcodec/indeo2.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libavcodec/indeo2.c b/libavcodec/indeo2.c
index e8b99a457c..aec118c84c 100644
--- a/libavcodec/indeo2.c
+++ b/libavcodec/indeo2.c
@@ -261,15 +261,15 @@ static av_cold int ir2_decode_end(AVCodecContext *avctx)
return 0;
}
-const AVCodec ff_indeo2_decoder = {
- .name = "indeo2",
- .long_name = NULL_IF_CONFIG_SMALL("Intel Indeo 2"),
- .type = AVMEDIA_TYPE_VIDEO,
- .id = AV_CODEC_ID_INDEO2,
+const FFCodec ff_indeo2_decoder = {
+ .p.name = "indeo2",
+ .p.long_name = NULL_IF_CONFIG_SMALL("Intel Indeo 2"),
+ .p.type = AVMEDIA_TYPE_VIDEO,
+ .p.id = AV_CODEC_ID_INDEO2,
.priv_data_size = sizeof(Ir2Context),
.init = ir2_decode_init,
.close = ir2_decode_end,
.decode = ir2_decode_frame,
- .capabilities = AV_CODEC_CAP_DR1,
+ .p.capabilities = AV_CODEC_CAP_DR1,
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
};