Message ID | GV1P250MB0737CCA5FC69A387D15C43348F25A@GV1P250MB0737.EURP250.PROD.OUTLOOK.COM |
---|---|
State | Accepted |
Commit | b7158377c9449df831f89fe6fd39309efecbf188 |
Headers | show |
Series | [FFmpeg-devel] avcodec/vvc_parser: Mark close function as av_cold | expand |
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | success | Make fate finished |
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
On 6/29/2023 7:28 PM, Andreas Rheinhardt wrote: > Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@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; Other parser don't seem to do this (only for init), but LGTM either way.
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;
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- libavcodec/vvc_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)