comparison h264_cavlc.c @ 11191:5e583a785508 libavcodec

Move check for and call of predict_field_decoding_flag() from the mb code to the row code. This function would only be needed on a MB basis for MBAFF+FMO
author michael
date Wed, 17 Feb 2010 02:14:02 +0000
parents d1a855cb0a0c
children c4c8c8c426eb
comparison
equal deleted inserted replaced
11190:afc60af2d008 11191:5e583a785508
545 545
546 if (s->mb_skip_run--) { 546 if (s->mb_skip_run--) {
547 if(FRAME_MBAFF && (s->mb_y&1) == 0){ 547 if(FRAME_MBAFF && (s->mb_y&1) == 0){
548 if(s->mb_skip_run==0) 548 if(s->mb_skip_run==0)
549 h->mb_mbaff = h->mb_field_decoding_flag = get_bits1(&s->gb); 549 h->mb_mbaff = h->mb_field_decoding_flag = get_bits1(&s->gb);
550 else
551 predict_field_decoding_flag(h);
552 } 550 }
553 decode_mb_skip(h); 551 decode_mb_skip(h);
554 return 0; 552 return 0;
555 } 553 }
556 } 554 }