X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fcyuv.c;h=26bf7550dbe99bc68c01192b8cd7da46ccad1183;hb=30bd40f2f1d89dbab96b1060f581fd95651dd156;hp=c7fe130bcea806aff46586cbb63a2e67ebbf246f;hpb=fbd4293df9b0c9a1076da74b8e7a86cae6efdfe1;p=ffmpeg diff --git a/libavcodec/cyuv.c b/libavcodec/cyuv.c index c7fe130bcea..26bf7550dbe 100644 --- a/libavcodec/cyuv.c +++ b/libavcodec/cyuv.c @@ -43,7 +43,7 @@ typedef struct CyuvDecodeContext { AVFrame frame; } CyuvDecodeContext; -static int cyuv_decode_init(AVCodecContext *avctx) +static av_cold int cyuv_decode_init(AVCodecContext *avctx) { CyuvDecodeContext *s = avctx->priv_data; @@ -163,7 +163,7 @@ static int cyuv_decode_frame(AVCodecContext *avctx, return buf_size; } -static int cyuv_decode_end(AVCodecContext *avctx) +static av_cold int cyuv_decode_end(AVCodecContext *avctx) { /* CyuvDecodeContext *s = avctx->priv_data;*/ @@ -180,6 +180,7 @@ AVCodec cyuv_decoder = { cyuv_decode_end, cyuv_decode_frame, CODEC_CAP_DR1, - NULL + NULL, + .long_name = "Creative YUV (CYUV)", };