diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-07-30 20:26:38 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-07-30 20:38:19 +0200 |
commit | 43411f416f6db7a16919ffa49fbd18ceb6c07dea (patch) | |
tree | ba76099221e02c2c2d114b4a25453e0fd734e8d5 | |
parent | 6b255e5e70c72aa59ff7aed74b4ee976223eb140 (diff) | |
download | ffmpeg-43411f416f6db7a16919ffa49fbd18ceb6c07dea.tar.gz |
avcodec/get_bits: init_state is used for thread sync, make it volatile
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/get_bits.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/get_bits.h b/libavcodec/get_bits.h index 3967b49b51..af07d6f04b 100644 --- a/libavcodec/get_bits.h +++ b/libavcodec/get_bits.h @@ -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 { |