1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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>
This commit is contained in:
Michael Niedermayer 2014-06-20 21:54:23 +02:00
parent 33f83a2157
commit 329898aa45

View File

@ -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)