mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 20:19:55 +00:00
Remove the block with always false condition from vc1_parse_frame_header()
Originally committed as revision 16726 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
a28d522491
commit
1cae2ef9a6
@ -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->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);
|
||||
|
Loading…
Reference in New Issue
Block a user