ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinha...@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.rheinha...@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);
 }

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to