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

Originally committed as revision 10499 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Kostya Shishkov 2007-09-15 09:23:58 +00:00
parent efd7428666
commit f7d2a43707

View File

@ -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)