History

avcodec/bitstream: document the double volatile

Michael Niedermayer committed 12 years ago

Commit a2de7b11 parent 36393431 file · +1 −1Browse files

Unified · Split

libavcodec/bitstream.c+1−1
@@ -163,7 +163,7 @@ static int build_table(VLC *vlc, int table_nb_bits, int nb_codes, · 162 unmodified lines
163 int table_size, table_index, index, code_prefix, symbol, subtable_bits;163 int table_size, table_index, index, code_prefix, symbol, subtable_bits;
164 int i, j, k, n, nb, inc;164 int i, j, k, n, nb, inc;
165 uint32_t code;165 uint32_t code;
166 volatile VLC_TYPE (* volatile table)[2];166 volatile VLC_TYPE (* volatile table)[2]; // the double volatile is needed to prevent a internal compiler error in gcc 4.2
167 167
168 table_size = 1 << table_nb_bits;168 table_size = 1 << table_nb_bits;
169 if (table_nb_bits > 30)169 if (table_nb_bits > 30)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t