Commit 28aea0d0 authored by kostya's avatar kostya

Remove the block with always false condition from vc1_parse_frame_header()

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16726 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 8d8c539e
...@@ -1174,12 +1174,7 @@ static int vc1_parse_frame_header(VC1Context *v, GetBitContext* gb) ...@@ -1174,12 +1174,7 @@ static int vc1_parse_frame_header(VC1Context *v, GetBitContext* gb)
v->k_y = v->mvrange + 8; //k_y can be 8 9 10 11 v->k_y = v->mvrange + 8; //k_y can be 8 9 10 11
v->range_x = 1 << (v->k_x - 1); v->range_x = 1 << (v->k_x - 1);
v->range_y = 1 << (v->k_y - 1); v->range_y = 1 << (v->k_y - 1);
if (v->profile == PROFILE_ADVANCED) if (v->multires && v->s.pict_type != FF_B_TYPE) v->respic = get_bits(gb, 2);
{
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->res_x8 && (v->s.pict_type == FF_I_TYPE || v->s.pict_type == FF_BI_TYPE)){ if(v->res_x8 && (v->s.pict_type == FF_I_TYPE || v->s.pict_type == FF_BI_TYPE)){
v->x8_type = get_bits1(gb); v->x8_type = get_bits1(gb);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment