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/ffv1_parser.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/ffv1_parser.c')
-rw-r--r-- | libavcodec/ffv1_parser.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/ffv1_parser.c b/libavcodec/ffv1_parser.c index bf61e88a2e..e54854d84f 100644 --- a/libavcodec/ffv1_parser.c +++ b/libavcodec/ffv1_parser.c @@ -20,6 +20,8 @@ #include "ffv1.h" #include "rangecoder.h" +#include "libavutil/attributes.h" + typedef struct FFV1ParseContext { FFV1Context f; int got_first; @@ -70,7 +72,7 @@ static int parse(AVCodecParserContext *s, return buf_size; } -static void ffv1_close(AVCodecParserContext *s) +static av_cold void ffv1_close(AVCodecParserContext *s) { FFV1ParseContext *p = s->priv_data; |