Mercurial > libavcodec.hg
diff asv1.c @ 2426:1ee03f2a6cd5 libavcodec
av_malloc vs av_mallocz patch by (Kurosu <kurosu inforezo org>)
author | michael |
---|---|
date | Wed, 12 Jan 2005 18:25:48 +0000 |
parents | 18b8b2dcc037 |
children | f67b63ed036d |
line wrap: on
line diff
--- a/asv1.c Wed Jan 12 11:14:12 2005 +0000 +++ b/asv1.c Wed Jan 12 18:25:48 2005 +0000 @@ -579,7 +579,7 @@ } 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);