summaryrefslogtreecommitdiff
path: root/libavcodec/get_bits.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-07-30 20:48:51 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-07-30 20:55:54 +0200
commit121fc05b4dad59dbebcb15d93226e40f8413aeb6 (patch)
tree3bbb13b56ffd0246503b8aec50a572a51ca6e693 /libavcodec/get_bits.h
parent43411f416f6db7a16919ffa49fbd18ceb6c07dea (diff)
avcodec/get_bits: place volatile at the right spot
Should fix Ticket2825 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 af07d6f04b..5da90b6b42 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;
- volatile void *init_state;
+ void * volatile init_state;
} VLC;
typedef struct RL_VLC_ELEM {