avcodec/exrenc: add av_cold to some functions

This commit is contained in:
Paul B Mahol 2022-07-06 12:28:37 +02:00
parent 85bc6b5abf
commit 42518d8dd0

View File

@ -91,7 +91,7 @@ typedef struct EXRContext {
uint8_t shifttable[512];
} EXRContext;
static int encode_init(AVCodecContext *avctx)
static av_cold int encode_init(AVCodecContext *avctx)
{
EXRContext *s = avctx->priv_data;
@ -139,7 +139,7 @@ static int encode_init(AVCodecContext *avctx)
return 0;
}
static int encode_close(AVCodecContext *avctx)
static av_cold int encode_close(AVCodecContext *avctx)
{
EXRContext *s = avctx->priv_data;