diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2007-09-15 09:23:58 +0000 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2007-09-15 09:23:58 +0000 |
commit | f7d2a43707a765fd99dea21913b3616b7559d9e6 (patch) | |
tree | eaf918fbcd006b77d0ba6730cbe7d47ddd3ed1a9 /libavcodec | |
parent | efd74286662a6887bdbc0f590b17a9f5a6dc913b (diff) | |
download | ffmpeg-f7d2a43707a765fd99dea21913b3616b7559d9e6.tar.gz |
In case when any quantizer may occur, HALFPQ should be zero
Originally committed as revision 10499 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/vc1.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/vc1.c b/libavcodec/vc1.c index f273422293..4f19dc29fe 100644 --- a/libavcodec/vc1.c +++ b/libavcodec/vc1.c @@ -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) |