Commit b2862402 authored by kostya's avatar kostya

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10499 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 24c4e93d
......@@ -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