diff options
author | Fabrice Bellard <fabrice@bellard.org> | 2003-01-07 17:44:21 +0000 |
---|---|---|
committer | Fabrice Bellard <fabrice@bellard.org> | 2003-01-07 17:44:21 +0000 |
commit | d9823692f58a0fc757fb4209b309659ebdd0fd2f (patch) | |
tree | 8efa826a09b5c18369257b40a4f8428bfc61d772 | |
parent | ea0f841a54dacd8ec9444f5367aa90ae200beb83 (diff) | |
download | ffmpeg-d9823692f58a0fc757fb4209b309659ebdd0fd2f.tar.gz |
use av_malloc instead of malloc
Originally committed as revision 1412 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/mdct.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/mdct.c b/libavcodec/mdct.c index 0f70ed850c..91a927cb09 100644 --- a/libavcodec/mdct.c +++ b/libavcodec/mdct.c @@ -31,10 +31,10 @@ int ff_mdct_init(MDCTContext *s, int nbits, int inverse) 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; |