[FFmpeg-cvslog] r16209 - trunk/libavcodec/h264.c

michael subversion
Thu Dec 18 04:04:54 CET 2008


Author: michael
Date: Thu Dec 18 04:04:53 2008
New Revision: 16209

Log:
Remove redundant nnz variable.


Modified:
   trunk/libavcodec/h264.c

Modified: trunk/libavcodec/h264.c
==============================================================================
--- trunk/libavcodec/h264.c	(original)
+++ trunk/libavcodec/h264.c	Thu Dec 18 04:04:53 2008
@@ -2531,8 +2531,7 @@ static av_always_inline void hl_decode_m
                     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);
                             }
                         }




More information about the ffmpeg-cvslog mailing list