changeset 8378:9c6512be76b4 libavcodec

Remove redundant nnz variable.
author michael
date Thu, 18 Dec 2008 03:04:53 +0000
parents 63f491ce374b
children be5e0a75b457
files h264.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/h264.c	Thu Dec 18 02:56:44 2008 +0000
+++ b/h264.c	Thu Dec 18 03:04:53 2008 +0000
@@ -2531,8 +2531,7 @@
                     if(transform_bypass){
                         const int di = IS_8x8DCT(mb_type) ? 4 : 1;
                         for(i=0; i<16; i+=di){
-                            int nnz = h->non_zero_count_cache[ scan8[i] ];
-                            if(nnz){
+                            if(h->non_zero_count_cache[ scan8[i] ]){
                                 idct_add(dest_y + block_offset[i], h->mb + i*16, linesize);
                             }
                         }