diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-04-02 04:37:33 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-04-02 04:38:16 +0200 |
commit | c00f368caab72f7fa1195a8854e95c3d9597776a (patch) | |
tree | b7080ad3554df3eb6dae36d3a9d601978d0ae18a | |
parent | 27f77a372b9f5fa5d33c388cd9c3d74b1411d8e3 (diff) | |
download | ffmpeg-c00f368caab72f7fa1195a8854e95c3d9597776a.tar.gz |
avcodec/ac3dec: use av_freep() for saftey
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/ac3dec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ac3dec.c b/libavcodec/ac3dec.c index e75be7ef15..c8c4eb6b4a 100644 --- a/libavcodec/ac3dec.c +++ b/libavcodec/ac3dec.c @@ -1609,7 +1609,7 @@ static av_cold int ac3_decode_end(AVCodecContext *avctx) ff_mdct_end(&s->imdct_512); ff_mdct_end(&s->imdct_256); #if (USE_FIXED) - av_free(s->fdsp); + av_freep(&s->fdsp); #endif return 0; |