-AVCodec tscc_decoder = {
- "camtasia",
- CODEC_TYPE_VIDEO,
- CODEC_ID_TSCC,
- sizeof(CamtasiaContext),
- decode_init,
- NULL,
- decode_end,
- decode_frame,
- CODEC_CAP_DR1,
- .long_name = NULL_IF_CONFIG_SMALL("TechSmith Screen Capture Codec"),
+AVCodec ff_tscc_decoder = {
+ .name = "camtasia",
+ .type = AVMEDIA_TYPE_VIDEO,
+ .id = AV_CODEC_ID_TSCC,
+ .priv_data_size = sizeof(CamtasiaContext),
+ .init = decode_init,
+ .close = decode_end,
+ .decode = decode_frame,
+ .capabilities = CODEC_CAP_DR1,
+ .long_name = NULL_IF_CONFIG_SMALL("TechSmith Screen Capture Codec"),