aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-09-04 02:09:35 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-09-07 00:07:45 +0200
commit1fa535e8f3cb1a4fcec71c39e55b6ba997c0b83e (patch)
tree19639bb661cfbe901e2dd14617e9ee046e87d606 /libavcodec
parent116e2a9ee2c9eb7eaa99af9a066bcc37825721c7 (diff)
downloadffmpeg-1fa535e8f3cb1a4fcec71c39e55b6ba997c0b83e.tar.gz
avcodec/dvdec: Mark dv_init_static() as av_cold
Forgotten in 6d484671ecb612c32cbda0fab65f961743aff5f8. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/dvdec.c2
1 files changed, 1 insertions, 1 deletions
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) };