alac.c : Use av_freep instead of av_free.
Originally committed as revision 21654 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
04d2540c4b
commit
e243eee43f
@ -692,8 +692,8 @@ static av_cold int alac_decode_close(AVCodecContext *avctx)
|
|||||||
|
|
||||||
int chan;
|
int chan;
|
||||||
for (chan = 0; chan < MAX_CHANNELS; chan++) {
|
for (chan = 0; chan < MAX_CHANNELS; chan++) {
|
||||||
av_free(alac->predicterror_buffer[chan]);
|
av_freep(&alac->predicterror_buffer[chan]);
|
||||||
av_free(alac->outputsamples_buffer[chan]);
|
av_freep(&alac->outputsamples_buffer[chan]);
|
||||||
av_freep(&alac->wasted_bits_buffer[chan]);
|
av_freep(&alac->wasted_bits_buffer[chan]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user