diff mbox series

[FFmpeg-devel,v2,17/27] avcodec/vp8: Mark flushing functions as av_cold

Message ID GV1P250MB07376A315B066C1FDD83C08E8F002@GV1P250MB0737.EURP250.PROD.OUTLOOK.COM
State Accepted
Commit d7374ac713856c917f925fc43fbbfb7e6f6582fe
Headers show
Series [FFmpeg-devel,v2,01/27] avcodec/threadprogress: Add new API for frame-threaded progress | expand

Checks

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

Commit Message

Andreas Rheinhardt April 8, 2024, 8:13 p.m. UTC
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavcodec/vp8.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/libavcodec/vp8.c b/libavcodec/vp8.c
index a1443f6571..f37938ad27 100644
--- a/libavcodec/vp8.c
+++ b/libavcodec/vp8.c
@@ -128,7 +128,7 @@  static void vp8_release_frame(VP8Frame *f)
     ff_progress_frame_unref(&f->tf);
 }
 
-static void vp8_decode_flush_impl(AVCodecContext *avctx, int free_mem)
+static av_cold void vp8_decode_flush_impl(AVCodecContext *avctx, int free_mem)
 {
     VP8Context *s = avctx->priv_data;
     int i;
@@ -144,7 +144,7 @@  static void vp8_decode_flush_impl(AVCodecContext *avctx, int free_mem)
         FF_HW_SIMPLE_CALL(avctx, flush);
 }
 
-static void vp8_decode_flush(AVCodecContext *avctx)
+static av_cold void vp8_decode_flush(AVCodecContext *avctx)
 {
     vp8_decode_flush_impl(avctx, 0);
 }