[FFmpeg-cvslog] avcodec/get_bits: place volatile at the right spot
Michael Niedermayer
git at videolan.org
Tue Jul 30 20:56:53 CEST 2013
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Jul 30 20:48:51 2013 +0200| [121fc05b4dad59dbebcb15d93226e40f8413aeb6] | committer: Michael Niedermayer
avcodec/get_bits: place volatile at the right spot
Should fix Ticket2825
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=121fc05b4dad59dbebcb15d93226e40f8413aeb6
---
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 af07d6f..5da90b6 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 {
More information about the ffmpeg-cvslog
mailing list