diff options
author | Andreas Rheinhardt <[email protected]> | 2025-09-05 01:09:49 +0200 |
---|---|---|
committer | James Almer <[email protected]> | 2025-09-13 20:37:03 +0000 |
commit | 1df63acdc486d08fccbd0f3d19eb0398486c8e00 (patch) | |
tree | 27761d78ce04dd01afc2cf90c1d1eb480de0c3e1 /libavcodec/zerocodec.c | |
parent | bc545bae3be34e71980f93259dfca1b8bb28bd92 (diff) |
avcodec: Add av_cold to flush,init,close functions missing it
Signed-off-by: Andreas Rheinhardt <[email protected]>
Diffstat (limited to 'libavcodec/zerocodec.c')
-rw-r--r-- | libavcodec/zerocodec.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/zerocodec.c b/libavcodec/zerocodec.c index 48f78d1d86..a19ca62836 100644 --- a/libavcodec/zerocodec.c +++ b/libavcodec/zerocodec.c @@ -22,6 +22,7 @@ #include "codec_internal.h" #include "decode.h" #include "zlib_wrapper.h" +#include "libavutil/attributes.h" #include "libavutil/common.h" typedef struct ZeroCodecContext { @@ -126,7 +127,7 @@ static av_cold int zerocodec_decode_init(AVCodecContext *avctx) return ff_inflate_init(&zc->zstream, avctx); } -static void zerocodec_decode_flush(AVCodecContext *avctx) +static av_cold void zerocodec_decode_flush(AVCodecContext *avctx) { ZeroCodecContext *zc = avctx->priv_data; |