Mercurial > libavcodec.hg
diff libpostproc/postprocess_template.c @ 109:dfa9fde4b72d libavcodec
quick fix for movies with a height which is not a multiple of 8
| author | michael |
|---|---|
| date | Wed, 17 Oct 2001 02:04:16 +0000 |
| parents | bd163e13a0fb |
| children | 8e4c5a16c9fc |
line wrap: on
line diff
--- a/libpostproc/postprocess_template.c Tue Oct 16 23:10:38 2001 +0000 +++ b/libpostproc/postprocess_template.c Wed Oct 17 02:04:16 2001 +0000 @@ -2607,7 +2607,7 @@ for(x=0; x<width; x+=BLOCK_SIZE) blockCopy(dst + x, dstStride, src + x, srcStride, 8, mode & LEVEL_FIX); - for(y=0; y<height; y+=BLOCK_SIZE) + for(y=0; y<height-7; y+=BLOCK_SIZE) { //1% speedup if these are here instead of the inner loop uint8_t *srcBlock= &(src[y*srcStride]);
