Browse Source

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

Originally committed as revision 10499 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Kostya Shishkov 17 years ago
parent
commit
f7d2a43707
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavcodec/vc1.c

+ 2
- 0
libavcodec/vc1.c 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)


Loading…
Cancel
Save