diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-12-18 03:04:53 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-12-18 03:04:53 +0000 |
commit | 62bc966f8f505f8b203b3c6d02aac02fd7acf6ad (patch) | |
tree | 86425511a43d5d3d600b96308129947955585c8f | |
parent | 0a8ca22f4e5ef3fddf75f4e85158d8d0d85f98bf (diff) | |
download | ffmpeg-62bc966f8f505f8b203b3c6d02aac02fd7acf6ad.tar.gz |
Remove redundant nnz variable.
Originally committed as revision 16209 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/h264.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index bc87701f7a..4a8be4e888 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -2531,8 +2531,7 @@ static av_always_inline void hl_decode_mb_internal(H264Context *h, int simple){ 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); } } |