Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-07-30 22:26:38 +0400
committerMichael Niedermayer <michaelni@gmx.at>2013-07-30 22:38:19 +0400
commit43411f416f6db7a16919ffa49fbd18ceb6c07dea (patch)
treeba76099221e02c2c2d114b4a25453e0fd734e8d5 /libavcodec/get_bits.h
parent6b255e5e70c72aa59ff7aed74b4ee976223eb140 (diff)
avcodec/get_bits: init_state is used for thread sync, make it volatile
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/get_bits.h')
-rw-r--r--libavcodec/get_bits.h2
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 {