changeset 11079:5380ea3dcba9 libavcodec

alac.c : Use av_freep instead of av_free.
author jai_menon
date Sat, 06 Feb 2010 12:38:42 +0000
parents e1eb8879e368
children dfade8d02b92
files alac.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/alac.c	Sat Feb 06 02:55:58 2010 +0000
+++ b/alac.c	Sat Feb 06 12:38:42 2010 +0000
@@ -692,8 +692,8 @@
 
     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]);
     }