summaryrefslogtreecommitdiff
path: root/libavcodec/rv40.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/rv40.c')
-rw-r--r--libavcodec/rv40.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/libavcodec/rv40.c b/libavcodec/rv40.c
index 4fed7492ff..b95f0d7919 100644
--- a/libavcodec/rv40.c
+++ b/libavcodec/rv40.c
@@ -574,19 +574,19 @@ static av_cold int rv40_decode_init(AVCodecContext *avctx)
return 0;
}
-const AVCodec ff_rv40_decoder = {
- .name = "rv40",
- .long_name = NULL_IF_CONFIG_SMALL("RealVideo 4.0"),
- .type = AVMEDIA_TYPE_VIDEO,
- .id = AV_CODEC_ID_RV40,
+const FFCodec ff_rv40_decoder = {
+ .p.name = "rv40",
+ .p.long_name = NULL_IF_CONFIG_SMALL("RealVideo 4.0"),
+ .p.type = AVMEDIA_TYPE_VIDEO,
+ .p.id = AV_CODEC_ID_RV40,
.priv_data_size = sizeof(RV34DecContext),
.init = rv40_decode_init,
.close = ff_rv34_decode_end,
.decode = ff_rv34_decode_frame,
- .capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_DELAY |
+ .p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_DELAY |
AV_CODEC_CAP_FRAME_THREADS,
.flush = ff_mpeg_flush,
- .pix_fmts = (const enum AVPixelFormat[]) {
+ .p.pix_fmts = (const enum AVPixelFormat[]) {
AV_PIX_FMT_YUV420P,
AV_PIX_FMT_NONE
},