summaryrefslogtreecommitdiff
path: root/libavcodec/asv1.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/asv1.c')
-rw-r--r--libavcodec/asv1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/asv1.c b/libavcodec/asv1.c
index 1a6b4a82d4..95b15337bf 100644
--- a/libavcodec/asv1.c
+++ b/libavcodec/asv1.c
@@ -579,7 +579,7 @@ static int decode_init(AVCodecContext *avctx){
}
p->qstride= a->mb_width;
- p->qscale_table= av_mallocz( p->qstride * a->mb_height);
+ p->qscale_table= av_malloc( p->qstride * a->mb_height);
p->quality= (32*scale + a->inv_qscale/2)/a->inv_qscale;
memset(p->qscale_table, p->quality, p->qstride*a->mb_height);