Commit 903fc607 authored by kostya's avatar kostya

Correctly detect when use hpel or qpel mode


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5601 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 241caf3d
......@@ -1330,8 +1330,13 @@ static int vc1_parse_frame_header(VC1Context *v, GetBitContext* gb)
}
if(v->mv_mode == MV_PMODE_1MV_HPEL || v->mv_mode == MV_PMODE_1MV_HPEL_BILIN)
v->s.quarter_sample = 0;
else if(v->mv_mode == MV_PMODE_INTENSITY_COMP) {
if(v->mv_mode2 == MV_PMODE_1MV_HPEL || v->mv_mode2 == MV_PMODE_1MV_HPEL_BILIN)
v->s.quarter_sample = 0;
else
v->s.quarter_sample = 1;
} else
v->s.quarter_sample = 1;
if ((v->mv_mode == MV_PMODE_INTENSITY_COMP &&
v->mv_mode2 == MV_PMODE_MIXED_MV)
......
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