Browse Source

x86: Use LOCAL_ALIGNED in mpegvideo_mmx_template

Signed-off-by: Martin Storsjö <martin@martin.st>
tags/n0.9
Martin Storsjö 14 years ago
parent
commit
8f62ef0f95
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/x86/mpegvideo_mmx_template.c

+ 1
- 1
libavcodec/x86/mpegvideo_mmx_template.c View File

@@ -98,7 +98,7 @@ static int RENAME(dct_quantize)(MpegEncContext *s,
x86_reg last_non_zero_p1;
int level=0, q; //=0 is because gcc says uninitialized ...
const uint16_t *qmat, *bias;
DECLARE_ALIGNED(16, int16_t, temp_block)[64];
LOCAL_ALIGNED_16(int16_t, temp_block, [64]);

assert((7&(int)(&temp_block[0])) == 0); //did gcc align it correctly?



Loading…
Cancel
Save