# HG changeset patch # User michael # Date 1217769074 0 # Node ID 856df346b5368cc24acf89a37ba18b514c304521 # Parent 38e9f32f8d432561ff24211e51d712746b04ea83 Remove useless mb_field_decoding_flag setting code that was at the wrong spot. diff -r 38e9f32f8d43 -r 856df346b536 h264.c --- 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;