mirror of https://git.ffmpeg.org/ffmpeg.git
avcodec/get_bits: init_state is used for thread sync, make it volatile
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
6b255e5e70
commit
43411f416f
|
@ -64,7 +64,7 @@ typedef struct VLC {
|
||||||
int bits;
|
int bits;
|
||||||
VLC_TYPE (*table)[2]; ///< code, bits
|
VLC_TYPE (*table)[2]; ///< code, bits
|
||||||
int table_size, table_allocated;
|
int table_size, table_allocated;
|
||||||
void *init_state;
|
volatile void *init_state;
|
||||||
} VLC;
|
} VLC;
|
||||||
|
|
||||||
typedef struct RL_VLC_ELEM {
|
typedef struct RL_VLC_ELEM {
|
||||||
|
|
Loading…
Reference in New Issue