# HG changeset patch # User michael # Date 1185996384 0 # Node ID 8ea581ae9fa2cee38319e64a531e3a0e1b3d1021 # Parent 57434d6c8f49f9290eb9042511d0dd3e3318a49a merge/simplify 2 if() ~4 cpu cylces faster for the matrixbench video diff -r 57434d6c8f49 -r 8ea581ae9fa2 mpeg12.c --- a/mpeg12.c Wed Aug 01 19:17:36 2007 +0000 +++ b/mpeg12.c Wed Aug 01 19:26:24 2007 +0000 @@ -366,12 +366,8 @@ motion_type = MT_FRAME; else{ motion_type = get_bits(&s->gb, 2); - } - - /* compute dct type */ - if (s->picture_structure == PICT_FRAME && //FIXME add a interlaced_dct coded var? - !s->frame_pred_frame_dct && HAS_CBP(mb_type)) { - s->interlaced_dct = get_bits1(&s->gb); + if (s->picture_structure == PICT_FRAME && HAS_CBP(mb_type)) + s->interlaced_dct = get_bits1(&s->gb); } if (IS_QUANT(mb_type))