aboutsummaryrefslogtreecommitdiff
path: root/libavcodec/mdec.c
diff options
context:
space:
mode:
authorSteve L'Homme2006-02-05 13:35:17 +0000
committerDiego Biurrun2006-02-05 13:35:17 +0000
commit68b51e58ce73d99d2cd9bfa14cb7daaf4a74047e (patch)
tree1a1aa0365436dae8d8e2a80887f13d631d141cad /libavcodec/mdec.c
parent04c669ba98955535c00b5283eebafec773d2e83d (diff)
MSVC-compatible __align8/__align16 declaration
patch by Steve Lhomme, steve .dot. lhomme .at. free .dot. fr Originally committed as revision 4942 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mdec.c')
-rw-r--r--libavcodec/mdec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/mdec.c b/libavcodec/mdec.c
index 4a346ef609..79caa24c19 100644
--- a/libavcodec/mdec.c
+++ b/libavcodec/mdec.c
@@ -45,9 +45,9 @@ typedef struct MDECContext{
int mb_width;
int mb_height;
int mb_x, mb_y;
- DCTELEM __align8 block[6][64];
- uint16_t __align8 intra_matrix[64];
- int __align8 q_intra_matrix[64];
+ DECLARE_ALIGNED_8(DCTELEM, block[6][64]);
+ DECLARE_ALIGNED_8(uint16_t, intra_matrix[64]);
+ DECLARE_ALIGNED_8(int, q_intra_matrix[64]);
uint8_t *bitstream_buffer;
unsigned int bitstream_buffer_size;
int block_last_index[6];