Mercurial > libavcodec.hg
diff h264.c @ 6190:2aa536e36c89 libavcodec
Add and use DECLARE_ASM_CONST for constants used in assembler code.
Should make it easier to work around compilation problems with e.g. ICC.
author | reimar |
---|---|
date | Sun, 27 Jan 2008 20:50:16 +0000 |
parents | 11d2976cddc4 |
children | 52ccab2531bd |
line wrap: on
line diff
--- a/h264.c Sun Jan 27 20:45:49 2008 +0000 +++ b/h264.c Sun Jan 27 20:50:16 2008 +0000 @@ -5303,7 +5303,7 @@ return ctx + 4 * cat; } -static const attribute_used uint8_t last_coeff_flag_offset_8x8[63] = { +DECLARE_ASM_CONST(1, const uint8_t, last_coeff_flag_offset_8x8[63]) = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4,