diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-06-30 14:15:31 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-06-30 14:15:31 +0000 |
commit | b9d2085ba14aa733503ff02d966204992f46ff00 (patch) | |
tree | 81e862130f7a1dd0ddb4b17231d405937f3af62e /libavcodec/resample.c | |
parent | 2d48edddf7b1f47bd9a8b807060170c6246b877c (diff) | |
download | ffmpeg-b9d2085ba14aa733503ff02d966204992f46ff00.tar.gz |
various resampling fixes
Originally committed as revision 3271 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/resample.c')
-rw-r--r-- | libavcodec/resample.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |