Skip to content
Snippets Groups Projects
Commit ee5145c0 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

avcodec/aacpsy: Use av_mallocz_array()

parent 6e6bd548
No related branches found
No related tags found
No related merge requests found
...@@ -354,7 +354,7 @@ static av_cold int psy_3gpp_init(FFPsyContext *ctx) { ...@@ -354,7 +354,7 @@ static av_cold int psy_3gpp_init(FFPsyContext *ctx) {
} }
} }
pctx->ch = av_mallocz(sizeof(AacPsyChannel) * ctx->avctx->channels); pctx->ch = av_mallocz_array(ctx->avctx->channels, sizeof(AacPsyChannel));
lame_window_init(pctx, ctx->avctx); lame_window_init(pctx, ctx->avctx);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment