Commit 6444136e authored by bellard's avatar bellard

use av_malloc instead of malloc


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@1412 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent fe4ab52b
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment