avcodec/alacenc: Remove redundant code to free extradata

It is already freed generically for encoders.

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
pull/352/head
Andreas Rheinhardt 5 years ago
parent 93b7f9312d
commit acda9ff6ce
  1. 2
      libavcodec/alacenc.c

@ -498,8 +498,6 @@ static av_cold int alac_encode_close(AVCodecContext *avctx)
{
AlacEncodeContext *s = avctx->priv_data;
ff_lpc_end(&s->lpc_ctx);
av_freep(&avctx->extradata);
avctx->extradata_size = 0;
return 0;
}

Loading…
Cancel
Save