[FFmpeg-cvslog] avcodec/atrac9dec: Replace av_free() by av_freep() in close function
Andreas Rheinhardt
git at videolan.org
Tue Nov 24 12:49:12 EET 2020
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at gmail.com> | Thu Nov 5 03:51:50 2020 +0100| [6612d6d62e143599ee3c59ce81b157cecf0cdba9] | committer: Andreas Rheinhardt
avcodec/atrac9dec: Replace av_free() by av_freep() in close function
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6612d6d62e143599ee3c59ce81b157cecf0cdba9
---
libavcodec/atrac9dec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/atrac9dec.c b/libavcodec/atrac9dec.c
index 0477b304d2..a7de037b2c 100644
--- a/libavcodec/atrac9dec.c
+++ b/libavcodec/atrac9dec.c
@@ -838,7 +838,7 @@ static av_cold int atrac9_decode_close(AVCodecContext *avctx)
ff_free_vlc(&s->coeff_vlc[i][j][k]);
ff_mdct_end(&s->imdct);
- av_free(s->fdsp);
+ av_freep(&s->fdsp);
return 0;
}
More information about the ffmpeg-cvslog
mailing list