aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/lzw.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-12-10 04:32:17 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-04-27 00:40:18 +0200
commitd99707b42a55b2fcfc17b8c9bf3f38c1879dbaa7 (patch)
treeeadd12b2001dee25c4accb123d7b881173306645 /libavcodec/lzw.c
parentfea1f42e5f82db01ef3eec6ee8b0862944a5e319 (diff)
downloadffmpeg-d99707b42a55b2fcfc17b8c9bf3f38c1879dbaa7.tar.gz
avcodec/mpeg4video: Make initializing RLTable thread-safe
Up until now the RLTable ff_mpeg4_rl_intra was initialized by both mpeg4 decoder and encoder (except the VLCs that are only used by the decoder). This is an obstacle to making these codecs init-threadsafe, so move initializing this to a single function that is guarded by a dedicated AVOnce. Reviewed-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/lzw.c')
0 files changed, 0 insertions, 0 deletions