changeset 2084:db6a5e3e74a0 libavcodec

10l
author michael
date Fri, 18 Jun 2004 02:45:09 +0000
parents 76cdbe832239
children 51f678a23325
files resample.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/resample.c	Thu Jun 17 16:34:46 2004 +0000
+++ b/resample.c	Fri Jun 18 02:45:09 2004 +0000
@@ -231,8 +231,8 @@
         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]);