return 0;
}
-static av_cold int v308_encode_close(AVCodecContext *avctx)
-{
- return 0;
-}
-
AVCodec ff_v308_encoder = {
.name = "v308",
.long_name = NULL_IF_CONFIG_SMALL("Uncompressed packed 4:4:4"),
.id = AV_CODEC_ID_V308,
.init = v308_encode_init,
.encode2 = v308_encode_frame,
- .close = v308_encode_close,
.pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_YUV444P, AV_PIX_FMT_NONE },
};
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 },
};
#endif
.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 },
};
#endif