diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-12-10 04:32:17 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-04-27 00:40:18 +0200 |
commit | d99707b42a55b2fcfc17b8c9bf3f38c1879dbaa7 (patch) | |
tree | eadd12b2001dee25c4accb123d7b881173306645 /COPYING.GPLv2 | |
parent | fea1f42e5f82db01ef3eec6ee8b0862944a5e319 (diff) | |
download | ffmpeg-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 'COPYING.GPLv2')
0 files changed, 0 insertions, 0 deletions