aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/asv1.c
diff options
context:
space:
mode:
authorKurosu <kurosu@inforezo.org>2005-01-12 18:25:48 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-01-12 18:25:48 +0000
commitf41c1fac3c3e5bfcc9f6d5380aa228aa85a60562 (patch)
tree0c2a59b311c98a4b56e77ab13d6a27f4195b7b22 /libavcodec/asv1.c
parent83b074704b90e4373bec74102a9f3ab8a960b26d (diff)
downloadffmpeg-f41c1fac3c3e5bfcc9f6d5380aa228aa85a60562.tar.gz
av_malloc vs av_mallocz patch by (Kurosu <kurosu inforezo org>)
Originally committed as revision 3830 to svn://svn.ffmpeg.org/ffmpeg/trunk
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);