[FFmpeg-cvslog] avcodec/vp8: Mark flushing functions as av_cold

Andreas Rheinhardt git at videolan.org
Fri Apr 19 14:53:52 EEST 2024


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Mon Apr  8 14:39:04 2024 +0200| [d7374ac713856c917f925fc43fbbfb7e6f6582fe] | committer: Andreas Rheinhardt

avcodec/vp8: Mark flushing functions as av_cold

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d7374ac713856c917f925fc43fbbfb7e6f6582fe
---

 libavcodec/vp8.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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);
 }



More information about the ffmpeg-cvslog mailing list