From b9d2085ba14aa733503ff02d966204992f46ff00 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 30 Jun 2004 14:15:31 +0000 Subject: various resampling fixes Originally committed as revision 3271 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/resample.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/resample.c') diff --git a/libavcodec/resample.c b/libavcodec/resample.c index 56b7917444..63371b0a1d 100644 --- a/libavcodec/resample.c +++ b/libavcodec/resample.c @@ -175,7 +175,7 @@ int audio_resample(ReSampleContext *s, short *output, short *input, int nb_sampl short *buftmp2[2], *buftmp3[2]; int lenout; - if (s->input_channels == s->output_channels && s->ratio == 1.0) { + if (s->input_channels == s->output_channels && s->ratio == 1.0 && 0) { /* nothing to do */ memcpy(output, input, nb_samples * s->input_channels * sizeof(short)); return nb_samples; -- cgit v1.2.3