Browse Source

avcodec/aacpsy: Clear the correct pointer

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.7
Michael Niedermayer 10 years ago
parent
commit
e7a65142b9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/aacpsy.c

+ 1
- 1
libavcodec/aacpsy.c View File

@@ -358,7 +358,7 @@ static av_cold int psy_3gpp_init(FFPsyContext *ctx) {

pctx->ch = av_mallocz_array(ctx->avctx->channels, sizeof(AacPsyChannel));
if (!pctx->ch) {
av_freep(&pctx);
av_freep(&ctx->model_priv_data);
return AVERROR(ENOMEM);
}



Loading…
Cancel
Save