From 42518d8dd02e95c47b0088788329b633858a489e Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Wed, 6 Jul 2022 12:28:37 +0200 Subject: [PATCH] avcodec/exrenc: add av_cold to some functions --- libavcodec/exrenc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/exrenc.c b/libavcodec/exrenc.c index 9138684bcb..8eb138ea01 100644 --- a/libavcodec/exrenc.c +++ b/libavcodec/exrenc.c @@ -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;