Mercurial > libavcodec.hg
diff i386/mpegvideo_mmx_template.c @ 6755:33896780c612 libavcodec
Do not misuse long as the size of a register in x86.
typedef x86_reg as the appropriate size and use it instead.
author | ramiro |
---|---|
date | Thu, 08 May 2008 21:11:24 +0000 |
parents | 52925923273f |
children | eebc7209c47f |
line wrap: on
line diff
--- a/i386/mpegvideo_mmx_template.c Thu May 08 14:02:35 2008 +0000 +++ b/i386/mpegvideo_mmx_template.c Thu May 08 21:11:24 2008 +0000 @@ -95,7 +95,7 @@ DCTELEM *block, int n, int qscale, int *overflow) { - long last_non_zero_p1; + 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]);