diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-11-01 01:14:36 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-11-24 11:35:03 +0100 |
commit | e74621b0a8c4d8f9aecdbb72ca264bdaca17ab52 (patch) | |
tree | 56fef859551f18127316d7a09c57d59e2ef5c7a9 /libavcodec/sheervideo.c | |
parent | f1919dc8fa391debebb339d5ab2268567783411e (diff) | |
download | ffmpeg-e74621b0a8c4d8f9aecdbb72ca264bdaca17ab52.tar.gz |
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>
Diffstat (limited to 'libavcodec/sheervideo.c')
-rw-r--r-- | libavcodec/sheervideo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/sheervideo.c b/libavcodec/sheervideo.c index 976c21c445..3e60ef26a5 100644 --- a/libavcodec/sheervideo.c +++ b/libavcodec/sheervideo.c @@ -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]; |