return 0;
}
-static av_cold int v408_encode_close(AVCodecContext *avctx)
-{
- return 0;
-}
-
#if CONFIG_AYUV_ENCODER
AVCodec ff_ayuv_encoder = {
.name = "ayuv",
.id = AV_CODEC_ID_AYUV,
.init = v408_encode_init,
.encode2 = v408_encode_frame,
- .close = v408_encode_close,
.pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_YUVA444P, AV_PIX_FMT_NONE },
- .capabilities = AV_CODEC_CAP_INTRA_ONLY,
};
#endif
#if CONFIG_V408_ENCODER
.id = AV_CODEC_ID_V408,
.init = v408_encode_init,
.encode2 = v408_encode_frame,
- .close = v408_encode_close,
.pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_YUVA444P, AV_PIX_FMT_NONE },
- .capabilities = AV_CODEC_CAP_INTRA_ONLY,
};
#endif