projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbec50d
)
10l
author
Michael Niedermayer
<michaelni@gmx.at>
Fri, 18 Jun 2004 02:45:09 +0000
(
02:45
+0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Fri, 18 Jun 2004 02:45:09 +0000
(
02:45
+0000)
Originally committed as revision 3231 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/resample.c
patch
|
blob
|
history
diff --git
a/libavcodec/resample.c
b/libavcodec/resample.c
index
b43b4da
..
56b7917
100644
(file)
--- 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]);