Mercurial > libavcodec.hg
comparison mpegvideo_xvmc.c @ 8886:f873e2b1ac7f libavcodec
cosmetics: Change '8*8' to '64'.
author | diego |
---|---|
date | Sat, 14 Feb 2009 21:50:46 +0000 |
parents | d3f806fb5f71 |
children | c4f2086d74f8 |
comparison
equal
deleted
inserted
replaced
8885:d3f806fb5f71 | 8886:f873e2b1ac7f |
---|---|
252 } | 252 } |
253 | 253 |
254 if (s->flags & CODEC_FLAG_GRAY) { | 254 if (s->flags & CODEC_FLAG_GRAY) { |
255 if (s->mb_intra) { // intra frames are always full chroma blocks | 255 if (s->mb_intra) { // intra frames are always full chroma blocks |
256 for (i = 4; i < blocks_per_mb; i++) { | 256 for (i = 4; i < blocks_per_mb; i++) { |
257 memset(s->pblocks[i], 0, sizeof(short)*8*8); // so we need to clear them | 257 memset(s->pblocks[i], 0, sizeof(short)*64); // so we need to clear them |
258 if (!render->unsigned_intra) | 258 if (!render->unsigned_intra) |
259 s->pblocks[i][0] = 1 << 10; | 259 s->pblocks[i][0] = 1 << 10; |
260 } | 260 } |
261 } else { | 261 } else { |
262 cbp &= 0xf << (blocks_per_mb - 4); | 262 cbp &= 0xf << (blocks_per_mb - 4); |