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/cbs_av1.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/cbs_av1.c')
-rw-r--r-- | libavcodec/cbs_av1.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/cbs_av1.c b/libavcodec/cbs_av1.c index 4edb6ecd50..f0021eff61 100644 --- a/libavcodec/cbs_av1.c +++ b/libavcodec/cbs_av1.c @@ -16,6 +16,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/attributes.h" #include "libavutil/avassert.h" #include "libavutil/opt.h" #include "libavutil/pixfmt.h" @@ -1265,7 +1266,7 @@ static int cbs_av1_assemble_fragment(CodedBitstreamContext *ctx, #endif } -static void cbs_av1_flush(CodedBitstreamContext *ctx) +static av_cold void cbs_av1_flush(CodedBitstreamContext *ctx) { CodedBitstreamAV1Context *priv = ctx->priv_data; @@ -1279,7 +1280,7 @@ static void cbs_av1_flush(CodedBitstreamContext *ctx) priv->tile_num = 0; } -static void cbs_av1_close(CodedBitstreamContext *ctx) +static av_cold void cbs_av1_close(CodedBitstreamContext *ctx) { CodedBitstreamAV1Context *priv = ctx->priv_data; |