1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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

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; const uint8_t *cur = table->lens;
uint16_t codes[1024]; uint16_t codes[1024];