mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-16 12:24:52 +00:00
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:
parent
efd7428666
commit
f7d2a43707
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user