diff options
author | Måns Rullgård <mans@mansr.com> | 2008-11-19 00:37:28 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2008-11-19 00:37:28 +0000 |
commit | 6f15dd8d14918ac4eecf9e1d5ea50fbea4208bb7 (patch) | |
tree | 742dc2687c0f3cbdc9df7688c43ec0936577bdef | |
parent | c136ece9b309d2407069aae73084492c84abff09 (diff) | |
download | ffmpeg-6f15dd8d14918ac4eecf9e1d5ea50fbea4208bb7.tar.gz |
SH4: do not mix code and declarations
Originally committed as revision 15881 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/sh4/dsputil_sh4.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/sh4/dsputil_sh4.c b/libavcodec/sh4/dsputil_sh4.c index 96a33f8c50..57faa1d3fb 100644 --- a/libavcodec/sh4/dsputil_sh4.c +++ b/libavcodec/sh4/dsputil_sh4.c @@ -66,9 +66,9 @@ static void clear_blocks_sh4(DCTELEM *blocks) extern void idct_sh4(DCTELEM *block); static void idct_put(uint8_t *dest, int line_size, DCTELEM *block) { - idct_sh4(block); int i; uint8_t *cm = ff_cropTbl + MAX_NEG_CROP; + idct_sh4(block); for(i=0;i<8;i++) { dest[0] = cm[block[0]]; dest[1] = cm[block[1]]; @@ -84,9 +84,9 @@ static void idct_put(uint8_t *dest, int line_size, DCTELEM *block) } static void idct_add(uint8_t *dest, int line_size, DCTELEM *block) { - idct_sh4(block); int i; uint8_t *cm = ff_cropTbl + MAX_NEG_CROP; + idct_sh4(block); for(i=0;i<8;i++) { dest[0] = cm[dest[0]+block[0]]; dest[1] = cm[dest[1]+block[1]]; |