avcodec: Add av_cold to flush,init,close functions missing it

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2025-09-05 01:09:49 +02:00 committed by James Almer
parent bc545bae3b
commit 1df63acdc4
81 changed files with 176 additions and 106 deletions

View file

@ -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;