[FFmpeg-cvslog] avcodec/mpegvideo: Mark ff_mpv_common_defaults() as av_cold

Andreas Rheinhardt git at videolan.org
Fri Mar 7 16:22:11 EET 2025


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Mon Mar  3 17:39:16 2025 +0100| [e117faddbf5ecd2226bfced49af0bf2425028e53] | committer: Andreas Rheinhardt

avcodec/mpegvideo: Mark ff_mpv_common_defaults() as av_cold

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

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

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

diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index 73c513acbd..f114dd8c0c 100644
--- a/libavcodec/mpegvideo.c
+++ b/libavcodec/mpegvideo.c
@@ -480,7 +480,7 @@ int ff_update_duplicate_context(MpegEncContext *dst, const MpegEncContext *src)
  * The changed fields will not depend upon the
  * prior state of the MpegEncContext.
  */
-void ff_mpv_common_defaults(MpegEncContext *s)
+av_cold void ff_mpv_common_defaults(MpegEncContext *s)
 {
     s->y_dc_scale_table      =
     s->c_dc_scale_table      = ff_mpeg1_dc_scale_table;



More information about the ffmpeg-cvslog mailing list