aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-06-20 21:54:23 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-06-20 21:54:23 +0200
commit329898aa45f5f8e8b89386ecd40b8db96746d53c (patch)
treedc588f6797a67bc87ad7b5574b2640c49da59ae0
parent33f83a215774f91a1144b4213e3757ed2143a787 (diff)
downloadffmpeg-329898aa45f5f8e8b89386ecd40b8db96746d53c.tar.gz
avcodec/bitstream: try to workaround internal compiler bug in gcc 4.2
gcc 4.2 seems not maintained anymore so theres no option besides just working around it. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/bitstream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/bitstream.c b/libavcodec/bitstream.c
index e3e870ff3e..eb36c6f90b 100644
--- a/libavcodec/bitstream.c
+++ b/libavcodec/bitstream.c
@@ -163,7 +163,7 @@ static int build_table(VLC *vlc, int table_nb_bits, int nb_codes,
int table_size, table_index, index, code_prefix, symbol, subtable_bits;
int i, j, k, n, nb, inc;
uint32_t code;
- volatile VLC_TYPE (*table)[2];
+ volatile VLC_TYPE (* volatile table)[2];
table_size = 1 << table_nb_bits;
if (table_nb_bits > 30)