git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3639343
)
avcodec/bitstream: document the double volatile
author
Michael Niedermayer
<michaelni@gmx.at>
Sat, 21 Jun 2014 12:55:32 +0000
(14:55 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sat, 21 Jun 2014 12:55:32 +0000
(14:55 +0200)
Suggested-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/bitstream.c
patch
|
blob
|
history
diff --git
a/libavcodec/bitstream.c
b/libavcodec/bitstream.c
index
eb36c6f
..
aae2dcd
100644
(file)
--- 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 (* volatile table)[2];
+ volatile VLC_TYPE (* volatile table)[2];
// the double volatile is needed to prevent a internal compiler error in gcc 4.2
table_size = 1 << table_nb_bits;
if (table_nb_bits > 30)