summaryrefslogtreecommitdiffstats
path: root/libavcodec/evc_parser.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/evc_parser.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/evc_parser.c')
-rw-r--r--libavcodec/evc_parser.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/evc_parser.c b/libavcodec/evc_parser.c
index 8590ebcdaf..ea6675693e 100644
--- a/libavcodec/evc_parser.c
+++ b/libavcodec/evc_parser.c
@@ -25,6 +25,8 @@
#include "evc.h"
#include "evc_parse.h"
+#include "libavutil/attributes.h"
+
typedef struct EVCParserContext {
EVCParamSets ps;
EVCParserPoc poc;
@@ -362,7 +364,7 @@ static int evc_parse(AVCodecParserContext *s, AVCodecContext *avctx,
return next;
}
-static void evc_parser_close(AVCodecParserContext *s)
+static av_cold void evc_parser_close(AVCodecParserContext *s)
{
EVCParserContext *ctx = s->priv_data;