summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavcodec/alacenc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/alacenc.c b/libavcodec/alacenc.c
index 804cc7b17b..fc5fa270e6 100644
--- a/libavcodec/alacenc.c
+++ b/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;
}