diff options
author | Paul B Mahol <onemda@gmail.com> | 2022-07-06 12:28:37 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2022-07-06 19:41:44 +0200 |
commit | 42518d8dd02e95c47b0088788329b633858a489e (patch) | |
tree | 45a064af3524319cf69d92116163c03ad1f754d0 | |
parent | 85bc6b5abf287cbc38744b32b9e033158ab24780 (diff) | |
download | ffmpeg-42518d8dd02e95c47b0088788329b633858a489e.tar.gz |
avcodec/exrenc: add av_cold to some functions
-rw-r--r-- | libavcodec/exrenc.c | 4 |
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; |