diff options
Diffstat (limited to 'libavcodec/vmnc.c')
-rw-r--r-- | libavcodec/vmnc.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libavcodec/vmnc.c b/libavcodec/vmnc.c index a1a55c0a34..b6884b7aa6 100644 --- a/libavcodec/vmnc.c +++ b/libavcodec/vmnc.c @@ -573,15 +573,15 @@ static av_cold int decode_end(AVCodecContext *avctx) return 0; } -const AVCodec ff_vmnc_decoder = { - .name = "vmnc", - .long_name = NULL_IF_CONFIG_SMALL("VMware Screen Codec / VMware Video"), - .type = AVMEDIA_TYPE_VIDEO, - .id = AV_CODEC_ID_VMNC, +const FFCodec ff_vmnc_decoder = { + .p.name = "vmnc", + .p.long_name = NULL_IF_CONFIG_SMALL("VMware Screen Codec / VMware Video"), + .p.type = AVMEDIA_TYPE_VIDEO, + .p.id = AV_CODEC_ID_VMNC, .priv_data_size = sizeof(VmncContext), .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, }; |