summaryrefslogtreecommitdiff
path: root/libavcodec/avrndec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/avrndec.c')
-rw-r--r--libavcodec/avrndec.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libavcodec/avrndec.c b/libavcodec/avrndec.c
index 7e19db3705..dd00a6fd39 100644
--- a/libavcodec/avrndec.c
+++ b/libavcodec/avrndec.c
@@ -90,14 +90,14 @@ static int decode_frame(AVCodecContext *avctx, void *data,
return buf_size;
}
-const AVCodec ff_avrn_decoder = {
- .name = "avrn",
- .long_name = NULL_IF_CONFIG_SMALL("Avid AVI Codec"),
- .type = AVMEDIA_TYPE_VIDEO,
- .id = AV_CODEC_ID_AVRN,
+const FFCodec ff_avrn_decoder = {
+ .p.name = "avrn",
+ .p.long_name = NULL_IF_CONFIG_SMALL("Avid AVI Codec"),
+ .p.type = AVMEDIA_TYPE_VIDEO,
+ .p.id = AV_CODEC_ID_AVRN,
.priv_data_size = sizeof(AVRnContext),
.init = init,
.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,
};