[FFmpeg-cvslog] avcodec/exrenc: add av_cold to some functions
Paul B Mahol
git at videolan.org
Wed Jul 6 20:39:35 EEST 2022
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Wed Jul 6 12:28:37 2022 +0200| [42518d8dd02e95c47b0088788329b633858a489e] | committer: Paul B Mahol
avcodec/exrenc: add av_cold to some functions
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=42518d8dd02e95c47b0088788329b633858a489e
---
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;
More information about the ffmpeg-cvslog
mailing list