aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2022-07-06 12:28:37 +0200
committerPaul B Mahol <onemda@gmail.com>2022-07-06 19:41:44 +0200
commit42518d8dd02e95c47b0088788329b633858a489e (patch)
tree45a064af3524319cf69d92116163c03ad1f754d0
parent85bc6b5abf287cbc38744b32b9e033158ab24780 (diff)
downloadffmpeg-42518d8dd02e95c47b0088788329b633858a489e.tar.gz
avcodec/exrenc: add av_cold to some functions
-rw-r--r--libavcodec/exrenc.c4
1 files 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;