diff options
Diffstat (limited to 'libavcodec/bintext.c')
-rw-r--r-- | libavcodec/bintext.c | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/libavcodec/bintext.c b/libavcodec/bintext.c index 59f99f7ebd..0fad8305f8 100644 --- a/libavcodec/bintext.c +++ b/libavcodec/bintext.c @@ -218,41 +218,41 @@ static int decode_frame(AVCodecContext *avctx, } #if CONFIG_BINTEXT_DECODER -const AVCodec ff_bintext_decoder = { - .name = "bintext", - .long_name = NULL_IF_CONFIG_SMALL("Binary text"), - .type = AVMEDIA_TYPE_VIDEO, - .id = AV_CODEC_ID_BINTEXT, +const FFCodec ff_bintext_decoder = { + .p.name = "bintext", + .p.long_name = NULL_IF_CONFIG_SMALL("Binary text"), + .p.type = AVMEDIA_TYPE_VIDEO, + .p.id = AV_CODEC_ID_BINTEXT, .priv_data_size = sizeof(XbinContext), .init = decode_init, .decode = decode_frame, - .capabilities = AV_CODEC_CAP_DR1, + .p.capabilities = AV_CODEC_CAP_DR1, .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE, }; #endif #if CONFIG_XBIN_DECODER -const AVCodec ff_xbin_decoder = { - .name = "xbin", - .long_name = NULL_IF_CONFIG_SMALL("eXtended BINary text"), - .type = AVMEDIA_TYPE_VIDEO, - .id = AV_CODEC_ID_XBIN, +const FFCodec ff_xbin_decoder = { + .p.name = "xbin", + .p.long_name = NULL_IF_CONFIG_SMALL("eXtended BINary text"), + .p.type = AVMEDIA_TYPE_VIDEO, + .p.id = AV_CODEC_ID_XBIN, .priv_data_size = sizeof(XbinContext), .init = decode_init, .decode = decode_frame, - .capabilities = AV_CODEC_CAP_DR1, + .p.capabilities = AV_CODEC_CAP_DR1, .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE, }; #endif #if CONFIG_IDF_DECODER -const AVCodec ff_idf_decoder = { - .name = "idf", - .long_name = NULL_IF_CONFIG_SMALL("iCEDraw text"), - .type = AVMEDIA_TYPE_VIDEO, - .id = AV_CODEC_ID_IDF, +const FFCodec ff_idf_decoder = { + .p.name = "idf", + .p.long_name = NULL_IF_CONFIG_SMALL("iCEDraw text"), + .p.type = AVMEDIA_TYPE_VIDEO, + .p.id = AV_CODEC_ID_IDF, .priv_data_size = sizeof(XbinContext), .init = decode_init, .decode = decode_frame, - .capabilities = AV_CODEC_CAP_DR1, + .p.capabilities = AV_CODEC_CAP_DR1, .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE, }; #endif |