mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-27 05:00:37 +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