Commit 43411f41 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/get_bits: init_state is used for thread sync, make it volatile

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 6b255e5e
......@@ -64,7 +64,7 @@ typedef struct VLC {
int bits;
VLC_TYPE (*table)[2]; ///< code, bits
int table_size, table_allocated;
void *init_state;
volatile void *init_state;
} VLC;
typedef struct RL_VLC_ELEM {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment