# HG changeset patch # User kostya # Date 1232692384 0 # Node ID ad979489c6e77282e048b62dfca727a5aa09a5bf # Parent 29096719e684d6b2242547175277c4481ab4b374 Remove the block with always false condition from vc1_parse_frame_header() diff -r 29096719e684 -r ad979489c6e7 vc1.c --- a/vc1.c Fri Jan 23 06:31:17 2009 +0000 +++ b/vc1.c Fri Jan 23 06:33:04 2009 +0000 @@ -1174,12 +1174,7 @@ v->k_y = v->mvrange + 8; //k_y can be 8 9 10 11 v->range_x = 1 << (v->k_x - 1); v->range_y = 1 << (v->k_y - 1); - if (v->profile == PROFILE_ADVANCED) - { - if (v->postprocflag) v->postproc = get_bits1(gb); - } - else - if (v->multires && v->s.pict_type != FF_B_TYPE) v->respic = get_bits(gb, 2); + if (v->multires && v->s.pict_type != FF_B_TYPE) v->respic = get_bits(gb, 2); if(v->res_x8 && (v->s.pict_type == FF_I_TYPE || v->s.pict_type == FF_BI_TYPE)){ v->x8_type = get_bits1(gb);