avcodec/dvdec: Mark dv_init_static() as av_cold

Forgotten in 6d484671ec.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
pull/388/head
Andreas Rheinhardt 2 years ago
parent 116e2a9ee2
commit 1fa535e8f3
  1. 2
      libavcodec/dvdec.c

@ -148,7 +148,7 @@ static const uint16_t dv_iweight_720_c[64] = {
/* XXX: also include quantization */ /* XXX: also include quantization */
static RL_VLC_ELEM dv_rl_vlc[1664]; 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 }; VLCElem vlc_buf[FF_ARRAY_ELEMS(dv_rl_vlc)] = { 0 };
VLC dv_vlc = { .table = vlc_buf, .table_allocated = FF_ARRAY_ELEMS(vlc_buf) }; VLC dv_vlc = { .table = vlc_buf, .table_allocated = FF_ARRAY_ELEMS(vlc_buf) };

Loading…
Cancel
Save