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/qpeg.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/qpeg.c')
-rw-r--r-- | libavcodec/qpeg.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libavcodec/qpeg.c b/libavcodec/qpeg.c index 08bff5c81b..41b083bc14 100644 --- a/libavcodec/qpeg.c +++ b/libavcodec/qpeg.c @@ -29,6 +29,8 @@ #include "codec_internal.h" #include "decode.h" +#include "libavutil/attributes.h" + typedef struct QpegContext{ AVCodecContext *avctx; AVFrame *ref; @@ -314,7 +316,8 @@ static int decode_frame(AVCodecContext *avctx, AVFrame *p, return avpkt->size; } -static void decode_flush(AVCodecContext *avctx){ +static av_cold void decode_flush(AVCodecContext *avctx) +{ QpegContext * const a = avctx->priv_data; int i, pal_size; const uint8_t *pal_src; |