diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2010-03-01 02:54:24 +0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2010-03-01 02:54:24 +0300 |
commit | 8897b247a5be8533529f75e082fd53cca22ac201 (patch) | |
tree | 33f2c6749efed45a6f8eb79f40181a32527d99b6 /libavcodec/h264_cabac.c | |
parent | 11a74f36397a088dc458cf23e93bcf71e56330ea (diff) |
Remove some unneeded fill_rectangle() for 16x16 blocks.
Originally committed as revision 22124 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264_cabac.c')
-rw-r--r-- | libavcodec/h264_cabac.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libavcodec/h264_cabac.c b/libavcodec/h264_cabac.c index 9ae695ca08..b1b919a250 100644 --- a/libavcodec/h264_cabac.c +++ b/libavcodec/h264_cabac.c @@ -1503,8 +1503,7 @@ decode_intra_mb: }else ref=0; fill_rectangle(&h->ref_cache[list][ scan8[0] ], 4, 4, 8, ref, 1); - }else - fill_rectangle(&h->ref_cache[list][ scan8[0] ], 4, 4, 8, (uint8_t)LIST_NOT_USED, 1); //FIXME factorize and the other fill_rect below too + } } for(list=0; list<h->list_count; list++){ if(IS_DIR(mb_type, 0, list)){ @@ -1515,8 +1514,7 @@ decode_intra_mb: fill_rectangle(h->mvd_cache[list][ scan8[0] ], 4, 4, 8, pack8to16(mpx,mpy), 2); fill_rectangle(h->mv_cache[list][ scan8[0] ], 4, 4, 8, pack16to32(mx,my), 4); - }else - fill_rectangle(h->mv_cache[list][ scan8[0] ], 4, 4, 8, 0, 4); + } } } else if(IS_16X8(mb_type)){ |