Mercurial > libavcodec.hg
changeset 11296:4709312b48d5 libavcodec
Remove useless check of the 2 left MBs of a pair being in the same slice.
author | michael |
---|---|
date | Fri, 26 Feb 2010 01:38:12 +0000 |
parents | 8fd2622aa522 |
children | b5836ef8e74e |
files | h264.h |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/h264.h Fri Feb 26 00:51:26 2010 +0000 +++ b/h264.h Fri Feb 26 01:38:12 2010 +0000 @@ -860,8 +860,8 @@ h->left_samples_available&= 0xFF5F; } }else{ - int left_typei = h->slice_table[left_xy[0] + s->mb_stride ] == h->slice_num - ? s->current_picture.mb_type[left_xy[0] + s->mb_stride] : 0; + int left_typei = s->current_picture.mb_type[left_xy[0] + s->mb_stride]; + assert(left_xy[0] == left_xy[1]); if(!((left_typei & type_mask) && (left_type[0] & type_mask))){ h->topleft_samples_available&= 0xDF5F;