mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02: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;
|
break;
|
||||||
case DQPROFILE_ALL_MBS:
|
case DQPROFILE_ALL_MBS:
|
||||||
v->dqbilevel = get_bits1(gb);
|
v->dqbilevel = get_bits1(gb);
|
||||||
|
if(!v->dqbilevel)
|
||||||
|
v->halfpq = 0;
|
||||||
default: break; //Forbidden ?
|
default: break; //Forbidden ?
|
||||||
}
|
}
|
||||||
if (v->dqbilevel || v->dqprofile != DQPROFILE_ALL_MBS)
|
if (v->dqbilevel || v->dqprofile != DQPROFILE_ALL_MBS)
|
||||||
|
Loading…
Reference in New Issue
Block a user