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>
This commit is contained in:
Andreas Rheinhardt 2020-09-13 20:16:30 +02:00
parent 93b7f9312d
commit acda9ff6ce
1 changed files with 0 additions and 2 deletions

View File

@ -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;
}