Mercurial > libavcodec.hg
changeset 7469:856df346b536 libavcodec
Remove useless mb_field_decoding_flag setting code that was at the wrong spot.
author | michael |
---|---|
date | Sun, 03 Aug 2008 13:11:14 +0000 |
parents | 38e9f32f8d43 |
children | 1a93d3bbe3ee |
files | h264.c |
diffstat | 1 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/h264.c Sun Aug 03 13:00:39 2008 +0000 +++ b/h264.c Sun Aug 03 13:11:14 2008 +0000 @@ -4348,8 +4348,7 @@ if(FRAME_MBAFF){ if( (s->mb_y&1) == 0 ) h->mb_mbaff = h->mb_field_decoding_flag = get_bits1(&s->gb); - }else - h->mb_field_decoding_flag= (s->picture_structure!=PICT_FRAME); + } h->prev_mb_skipped= 0; @@ -5467,8 +5466,7 @@ if( (s->mb_y&1) == 0 ) h->mb_mbaff = h->mb_field_decoding_flag = decode_cabac_field_decoding_flag(h); - }else - h->mb_field_decoding_flag= (s->picture_structure!=PICT_FRAME); + } h->prev_mb_skipped = 0;