summaryrefslogtreecommitdiff
path: root/libavcodec/alac.c
diff options
context:
space:
mode:
authorJai Menon <jmenon86@gmail.com>2010-02-06 12:38:42 +0000
committerJai Menon <jmenon86@gmail.com>2010-02-06 12:38:42 +0000
commite243eee43f3799eb410263036bc655c86c28192c (patch)
treedef105464f80eff60555e8663beb97bd45574d1c /libavcodec/alac.c
parent04d2540c4ba1ffbd82385cb75b141cc69eb0eb79 (diff)
downloadffmpeg-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.c4
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]);
}