Browse Source

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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.1
Michael Niedermayer 12 years ago
parent
commit
43411f416f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/get_bits.h

+ 1
- 1
libavcodec/get_bits.h View File

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


Loading…
Cancel
Save