[FFmpeg-cvslog] avcodec/mpeg_er: Mark ff_mpeg_er_init() as av_cold

Andreas Rheinhardt git at videolan.org
Sat Jun 21 23:20:22 EEST 2025


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Fri Jun 13 08:55:42 2025 +0200| [00926669f775854c0ffc151b0d2688ccfdb9062d] | committer: Andreas Rheinhardt

avcodec/mpeg_er: Mark ff_mpeg_er_init() as av_cold

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

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

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

diff --git a/libavcodec/mpeg_er.c b/libavcodec/mpeg_er.c
index 4b171354c7..0b919f0ced 100644
--- a/libavcodec/mpeg_er.c
+++ b/libavcodec/mpeg_er.c
@@ -96,7 +96,7 @@ static void mpeg_er_decode_mb(void *opaque, int ref, int mv_dir, int mv_type,
     ff_mpv_reconstruct_mb(s, s->block);
 }
 
-int ff_mpeg_er_init(MpegEncContext *s)
+av_cold int ff_mpeg_er_init(MpegEncContext *s)
 {
     ERContext *er = &s->er;
     int mb_array_size = s->mb_height * s->mb_stride;



More information about the ffmpeg-cvslog mailing list