ffmpeg | branch: master | Andreas Rheinhardt <[email protected]> | 
Sun Sep 13 20:16:30 2020 +0200| [acda9ff6ce2b94a199a6967118fa19d58a09c146] | 
committer: Andreas Rheinhardt

avcodec/alacenc: Remove redundant code to free extradata

It is already freed generically for encoders.

Reviewed-by: Paul B Mahol <[email protected]>
Signed-off-by: Andreas Rheinhardt <[email protected]>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=acda9ff6ce2b94a199a6967118fa19d58a09c146
---

 libavcodec/alacenc.c | 2 --
 1 file changed, 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;
 }
 

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to