avcodec/sheervideo: Add av_cold to build_vlc()

It is an init function even when called from decode_frame().

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
This commit is contained in:
Andreas Rheinhardt 2020-11-01 01:14:36 +01:00
parent f1919dc8fa
commit e74621b0a8
1 changed files with 1 additions and 1 deletions

View File

@ -1781,7 +1781,7 @@ static void decode_rgb(AVCodecContext *avctx, AVFrame *p, GetBitContext *gb)
}
}
static int build_vlc(VLC *vlc, const SheerTable *table)
static av_cold int build_vlc(VLC *vlc, const SheerTable *table)
{
const uint8_t *cur = table->lens;
uint16_t codes[1024];