comparison h264.c @ 8378:9c6512be76b4 libavcodec

Remove redundant nnz variable.
author michael
date Thu, 18 Dec 2008 03:04:53 +0000
parents 63f491ce374b
children be5e0a75b457
comparison
equal deleted inserted replaced
8377:63f491ce374b 8378:9c6512be76b4
2529 } 2529 }
2530 }else if(h->cbp&15){ 2530 }else if(h->cbp&15){
2531 if(transform_bypass){ 2531 if(transform_bypass){
2532 const int di = IS_8x8DCT(mb_type) ? 4 : 1; 2532 const int di = IS_8x8DCT(mb_type) ? 4 : 1;
2533 for(i=0; i<16; i+=di){ 2533 for(i=0; i<16; i+=di){
2534 int nnz = h->non_zero_count_cache[ scan8[i] ]; 2534 if(h->non_zero_count_cache[ scan8[i] ]){
2535 if(nnz){
2536 idct_add(dest_y + block_offset[i], h->mb + i*16, linesize); 2535 idct_add(dest_y + block_offset[i], h->mb + i*16, linesize);
2537 } 2536 }
2538 } 2537 }
2539 }else{ 2538 }else{
2540 if(IS_8x8DCT(mb_type)){ 2539 if(IS_8x8DCT(mb_type)){