diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-06-18 06:45:09 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-06-18 06:45:09 +0400 |
commit | dca97cbe01bc17236c535b2866a0da1abacdd1c8 (patch) | |
tree | 736b15dc24130f3ba143f771e1da619732ec8114 /libavcodec/resample.c | |
parent | bbec50d7abc2dc121d02c38272c0fc4467a35b62 (diff) |
10l
Originally committed as revision 3231 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/resample.c')
-rw-r--r-- | libavcodec/resample.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/resample.c b/libavcodec/resample.c index b43b4daa5a..56b7917444 100644 --- a/libavcodec/resample.c +++ b/libavcodec/resample.c @@ -231,8 +231,8 @@ int audio_resample(ReSampleContext *s, short *output, short *input, int nb_sampl ac3_5p1_mux(output, buftmp3[0], buftmp3[1], nb_samples1); } - av_free(bufin[0]); - av_free(bufin[1]); + for(i=0; i<s->filter_channels; i++) + av_free(bufin[i]); av_free(bufout[0]); av_free(bufout[1]); |