summaryrefslogtreecommitdiff
path: root/libavcodec/vc1.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/vc1.c')
-rw-r--r--libavcodec/vc1.c2
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)