diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-09-13 20:16:30 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2020-09-18 02:48:59 +0200 |
commit | acda9ff6ce2b94a199a6967118fa19d58a09c146 (patch) | |
tree | 72f42ba8637c1535191bb0d7f287c966a6f0138b /libavcodec | |
parent | 93b7f9312d691f4a24a5d48bf98f1e1337cac055 (diff) | |
download | ffmpeg-acda9ff6ce2b94a199a6967118fa19d58a09c146.tar.gz |
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>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/alacenc.c | 2 |
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; } |