return 0;
}
-static av_cold int v308_encode_close(AVCodecContext *avctx)
-{
- return 0;
-}
-
-AVCodec ff_v308_encoder = {
+const AVCodec ff_v308_encoder = {
.name = "v308",
.long_name = NULL_IF_CONFIG_SMALL("Uncompressed packed 4:4:4"),
.type = AVMEDIA_TYPE_VIDEO,
.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 },
- .capabilities = AV_CODEC_CAP_INTRA_ONLY,
};