summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavcodec/wmv2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/wmv2.c b/libavcodec/wmv2.c
index f4caa5aa25..30812198c6 100644
--- a/libavcodec/wmv2.c
+++ b/libavcodec/wmv2.c
@@ -726,6 +726,7 @@ static int wmv2_decode_mb(MpegEncContext *s, DCTELEM block[6][64])
s->mv[0][0][0] = 0;
s->mv[0][0][1] = 0;
s->mb_skiped = 1;
+ w->hshift=0;
return 0;
}