[FFmpeg-cvslog] avcodec/dvdec: Mark dv_init_static() as av_cold

Andreas Rheinhardt git at videolan.org
Wed Sep 7 02:04:12 EEST 2022


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Sun Sep  4 02:09:35 2022 +0200| [1fa535e8f3cb1a4fcec71c39e55b6ba997c0b83e] | committer: Andreas Rheinhardt

avcodec/dvdec: Mark dv_init_static() as av_cold

Forgotten in 6d484671ecb612c32cbda0fab65f961743aff5f8.

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

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

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

diff --git a/libavcodec/dvdec.c b/libavcodec/dvdec.c
index 9d521525a3..7692300bdd 100644
--- a/libavcodec/dvdec.c
+++ b/libavcodec/dvdec.c
@@ -148,7 +148,7 @@ static const uint16_t dv_iweight_720_c[64] = {
 /* XXX: also include quantization */
 static RL_VLC_ELEM dv_rl_vlc[1664];
 
-static void dv_init_static(void)
+static av_cold void dv_init_static(void)
 {
     VLCElem vlc_buf[FF_ARRAY_ELEMS(dv_rl_vlc)] = { 0 };
     VLC dv_vlc = { .table = vlc_buf, .table_allocated = FF_ARRAY_ELEMS(vlc_buf) };



More information about the ffmpeg-cvslog mailing list