Commit f7d2a437 authored by Kostya Shishkov's avatar Kostya Shishkov

In case when any quantizer may occur, HALFPQ should be zero

Originally committed as revision 10499 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent efd74286
......@@ -342,6 +342,8 @@ static int vop_dquant_decoding(VC1Context *v)
break;
case DQPROFILE_ALL_MBS:
v->dqbilevel = get_bits1(gb);
if(!v->dqbilevel)
v->halfpq = 0;
default: break; //Forbidden ?
}
if (v->dqbilevel || v->dqprofile != DQPROFILE_ALL_MBS)
......
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