summaryrefslogtreecommitdiffstats
path: root/libavcodec/apv_decode.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <[email protected]>2025-09-05 01:09:49 +0200
committerJames Almer <[email protected]>2025-09-13 20:37:03 +0000
commit1df63acdc486d08fccbd0f3d19eb0398486c8e00 (patch)
tree27761d78ce04dd01afc2cf90c1d1eb480de0c3e1 /libavcodec/apv_decode.c
parentbc545bae3be34e71980f93259dfca1b8bb28bd92 (diff)
avcodec: Add av_cold to flush,init,close functions missing it
Signed-off-by: Andreas Rheinhardt <[email protected]>
Diffstat (limited to 'libavcodec/apv_decode.c')
-rw-r--r--libavcodec/apv_decode.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/apv_decode.c b/libavcodec/apv_decode.c
index 27aaf7aac7..dbe354a793 100644
--- a/libavcodec/apv_decode.c
+++ b/libavcodec/apv_decode.c
@@ -18,6 +18,7 @@
#include <stdatomic.h>
+#include "libavutil/attributes.h"
#include "libavutil/mastering_display_metadata.h"
#include "libavutil/mem_internal.h"
#include "libavutil/pixdesc.h"
@@ -156,7 +157,7 @@ static av_cold int apv_decode_init(AVCodecContext *avctx)
return 0;
}
-static void apv_decode_flush(AVCodecContext *avctx)
+static av_cold void apv_decode_flush(AVCodecContext *avctx)
{
APVDecodeContext *apv = avctx->priv_data;