Mercurial > libavcodec.hg
changeset 970:a521e0ecc5a8 libavcodec
use av_malloc instead of malloc
author | bellard |
---|---|
date | Tue, 07 Jan 2003 17:44:21 +0000 |
parents | d12d0c93d1e2 |
children | 6d8b45263d6c |
files | mdct.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mdct.c Tue Jan 07 17:43:50 2003 +0000 +++ b/mdct.c Tue Jan 07 17:44:21 2003 +0000 @@ -31,10 +31,10 @@ s->nbits = nbits; s->n = n; n4 = n >> 2; - s->tcos = malloc(n4 * sizeof(FFTSample)); + s->tcos = av_malloc(n4 * sizeof(FFTSample)); if (!s->tcos) goto fail; - s->tsin = malloc(n4 * sizeof(FFTSample)); + s->tsin = av_malloc(n4 * sizeof(FFTSample)); if (!s->tsin) goto fail;