OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a8ca22
)
Remove redundant nnz variable.
author
Michael Niedermayer
<michaelni@gmx.at>
Thu, 18 Dec 2008 03:04:53 +0000
(
03:04
+0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Thu, 18 Dec 2008 03:04:53 +0000
(
03:04
+0000)
Originally committed as revision 16209 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/h264.c
patch
|
blob
|
history
diff --git
a/libavcodec/h264.c
b/libavcodec/h264.c
index
bc87701
..
4a8be4e
100644
(file)
--- 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);
}
}