diff options
author | Jai Menon <jmenon86@gmail.com> | 2010-02-06 12:38:42 +0000 |
---|---|---|
committer | Jai Menon <jmenon86@gmail.com> | 2010-02-06 12:38:42 +0000 |
commit | e243eee43f3799eb410263036bc655c86c28192c (patch) | |
tree | def105464f80eff60555e8663beb97bd45574d1c /libavcodec/alac.c | |
parent | 04d2540c4ba1ffbd82385cb75b141cc69eb0eb79 (diff) | |
download | ffmpeg-e243eee43f3799eb410263036bc655c86c28192c.tar.gz |
alac.c : Use av_freep instead of av_free.
Originally committed as revision 21654 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/alac.c')
-rw-r--r-- | libavcodec/alac.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/alac.c b/libavcodec/alac.c index baf6c31ce5..b1148219b5 100644 --- a/libavcodec/alac.c +++ b/libavcodec/alac.c @@ -692,8 +692,8 @@ static av_cold int alac_decode_close(AVCodecContext *avctx) int chan; for (chan = 0; chan < MAX_CHANNELS; chan++) { - av_free(alac->predicterror_buffer[chan]); - av_free(alac->outputsamples_buffer[chan]); + av_freep(&alac->predicterror_buffer[chan]); + av_freep(&alac->outputsamples_buffer[chan]); av_freep(&alac->wasted_bits_buffer[chan]); } |