[FFmpeg-cvslog] avcodec/mpeg12dec: Mark flush as cold

Andreas Rheinhardt git at videolan.org
Fri Mar 7 16:21:17 EET 2025


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Mon Mar  3 03:30:40 2025 +0100| [0c7e34856dcfabdd23bc41ad2a6657e776dcaed8] | committer: Andreas Rheinhardt

avcodec/mpeg12dec: Mark flush as cold

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

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

 libavcodec/mpeg12dec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/mpeg12dec.c b/libavcodec/mpeg12dec.c
index 92772acf5f..64f39ea995 100644
--- a/libavcodec/mpeg12dec.c
+++ b/libavcodec/mpeg12dec.c
@@ -2641,7 +2641,7 @@ static int mpeg_decode_frame(AVCodecContext *avctx, AVFrame *picture,
     return ret;
 }
 
-static void flush(AVCodecContext *avctx)
+static av_cold void flush(AVCodecContext *avctx)
 {
     Mpeg1Context *s = avctx->priv_data;
 



More information about the ffmpeg-cvslog mailing list