From 121fc05b4dad59dbebcb15d93226e40f8413aeb6 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 30 Jul 2013 20:48:51 +0200 Subject: [PATCH] avcodec/get_bits: place volatile at the right spot Should fix Ticket2825 Signed-off-by: Michael Niedermayer --- libavcodec/get_bits.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {