return PIX_FMT_YUV420P;
}
-static int raw_init_decoder(AVCodecContext *avctx)
+static av_cold int raw_init_decoder(AVCodecContext *avctx)
{
RawVideoContext *context = avctx->priv_data;
return buf_size;
}
-static int raw_close_decoder(AVCodecContext *avctx)
+static av_cold int raw_close_decoder(AVCodecContext *avctx)
{
RawVideoContext *context = avctx->priv_data;
NULL,
raw_close_decoder,
raw_decode,
+ .long_name = NULL_IF_CONFIG_SMALL("raw video"),
};