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/av1_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/av1_parser.c')
-rw-r--r-- | libavcodec/av1_parser.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/av1_parser.c b/libavcodec/av1_parser.c index 1792e813f4..ed6e1b61ad 100644 --- a/libavcodec/av1_parser.c +++ b/libavcodec/av1_parser.c @@ -20,6 +20,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/attributes.h" #include "libavutil/avassert.h" #include "av1_parse.h" @@ -200,7 +201,7 @@ static av_cold int av1_parser_init(AVCodecParserContext *ctx) return 0; } -static void av1_parser_close(AVCodecParserContext *ctx) +static av_cold void av1_parser_close(AVCodecParserContext *ctx) { AV1ParseContext *s = ctx->priv_data; |