aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ac3dec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-04-02 04:37:33 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-04-02 04:38:16 +0200
commitc00f368caab72f7fa1195a8854e95c3d9597776a (patch)
treeb7080ad3554df3eb6dae36d3a9d601978d0ae18a /libavcodec/ac3dec.c
parent27f77a372b9f5fa5d33c388cd9c3d74b1411d8e3 (diff)
downloadffmpeg-c00f368caab72f7fa1195a8854e95c3d9597776a.tar.gz
avcodec/ac3dec: use av_freep() for saftey
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/ac3dec.c')
-rw-r--r--libavcodec/ac3dec.c2
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;