Commit 74895322 authored by michael's avatar michael

Remove redundant nnz variable.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16209 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent ee2b0032
...@@ -2531,8 +2531,7 @@ static av_always_inline void hl_decode_mb_internal(H264Context *h, int simple){ ...@@ -2531,8 +2531,7 @@ static av_always_inline void hl_decode_mb_internal(H264Context *h, int simple){
if(transform_bypass){ if(transform_bypass){
const int di = IS_8x8DCT(mb_type) ? 4 : 1; const int di = IS_8x8DCT(mb_type) ? 4 : 1;
for(i=0; i<16; i+=di){ for(i=0; i<16; i+=di){
int nnz = h->non_zero_count_cache[ scan8[i] ]; if(h->non_zero_count_cache[ scan8[i] ]){
if(nnz){
idct_add(dest_y + block_offset[i], h->mb + i*16, linesize); idct_add(dest_y + block_offset[i], h->mb + i*16, linesize);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment