[FFmpeg-cvslog] r21654 - trunk/libavcodec/alac.c
jai_menon
subversion
Sat Feb 6 13:38:42 CET 2010
Author: jai_menon
Date: Sat Feb 6 13:38:42 2010
New Revision: 21654
Log:
alac.c : Use av_freep instead of av_free.
Modified:
trunk/libavcodec/alac.c
Modified: trunk/libavcodec/alac.c
==============================================================================
--- trunk/libavcodec/alac.c Sat Feb 6 13:32:44 2010 (r21653)
+++ trunk/libavcodec/alac.c Sat Feb 6 13:38:42 2010 (r21654)
@@ -692,8 +692,8 @@ static av_cold int alac_decode_close(AVC
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]);
}
More information about the ffmpeg-cvslog
mailing list