avcodec/get_bits: place volatile at the right spot
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 30 Jul 2013 18:48:51 +0000 (20:48 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 30 Jul 2013 18:55:54 +0000 (20:55 +0200)
Should fix Ticket2825

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/get_bits.h

index af07d6f..5da90b6 100644 (file)
@@ -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 {