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:
Michael Niedermayer 2013-07-30 20:26:38 +02:00
parent 6b255e5e70
commit 43411f416f
1 changed files with 1 additions and 1 deletions

View File

@ -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 {