AVFrame frame;
} CyuvDecodeContext;
-static int cyuv_decode_init(AVCodecContext *avctx)
+static av_cold int cyuv_decode_init(AVCodecContext *avctx)
{
CyuvDecodeContext *s = avctx->priv_data;
return buf_size;
}
-static int cyuv_decode_end(AVCodecContext *avctx)
-{
-/* CyuvDecodeContext *s = avctx->priv_data;*/
-
- return 0;
-}
-
AVCodec cyuv_decoder = {
"cyuv",
CODEC_TYPE_VIDEO,
sizeof(CyuvDecodeContext),
cyuv_decode_init,
NULL,
- cyuv_decode_end,
+ NULL,
cyuv_decode_frame,
CODEC_CAP_DR1,
- NULL
+ NULL,
+ .long_name = NULL_IF_CONFIG_SMALL("Creative YUV (CYUV)"),
};