diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-07-13 13:32:39 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-07-29 16:48:41 +0200 |
commit | 6af8326354ed6c1c68b53b3f2bba6697fb2d3bff (patch) | |
tree | d5f3a4e92e9c63dbf64d46514113d20e0ce5d090 /libavcodec/get_bits.h | |
parent | a9903f7ec123582d3adc3939854ab98d12fb10df (diff) | |
download | ffmpeg-6af8326354ed6c1c68b53b3f2bba6697fb2d3bff.tar.gz |
avcodec/ff_init_vlc_sparse: use a spinlock for thread sync
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/get_bits.h')
-rw-r--r-- | libavcodec/get_bits.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/get_bits.h b/libavcodec/get_bits.h index b6cc75a474..3967b49b51 100644 --- a/libavcodec/get_bits.h +++ b/libavcodec/get_bits.h @@ -64,6 +64,7 @@ typedef struct VLC { int bits; VLC_TYPE (*table)[2]; ///< code, bits int table_size, table_allocated; + void *init_state; } VLC; typedef struct RL_VLC_ELEM { |