[FFmpeg-devel] [PATCH] avcodec/vvc_parser: Mark close function as av_cold

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Fri Jun 30 01:28:13 EEST 2023


Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
 libavcodec/vvc_parser.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/vvc_parser.c b/libavcodec/vvc_parser.c
index 69696eef57..0a8ef9f177 100644
--- a/libavcodec/vvc_parser.c
+++ b/libavcodec/vvc_parser.c
@@ -496,7 +496,7 @@ static av_cold int vvc_parser_init(AVCodecParserContext *s)
     return ret;
 }
 
-static void vvc_parser_close(AVCodecParserContext *s)
+static av_cold void vvc_parser_close(AVCodecParserContext *s)
 {
     VVCParserContext *ctx = s->priv_data;
 
-- 
2.34.1



More information about the ffmpeg-devel mailing list