From 329898aa45f5f8e8b89386ecd40b8db96746d53c Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 20 Jun 2014 21:54:23 +0200 Subject: [PATCH] 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 --- libavcodec/bitstream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)