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:
parent
f1919dc8fa
commit
e74621b0a8
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user