aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-12-01 00:21:43 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-12-01 00:21:43 +0000
commit5d702d6db24bca64bd94a7ed0ad6211967084107 (patch)
tree6f01a3036cbd7b18f5558437eaa4f8145955e1ae
parent90901860c21468d6e9ae437c2bacb099c7bd3acf (diff)
downloadffmpeg-5d702d6db24bca64bd94a7ed0ad6211967084107.tar.gz
senseless cast and ()
Originally committed as revision 11118 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/resample.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/resample.c b/libavcodec/resample.c
index 7840b1679d..e427185c20 100644
--- a/libavcodec/resample.c
+++ b/libavcodec/resample.c
@@ -191,7 +191,7 @@ int audio_resample(ReSampleContext *s, short *output, short *input, int nb_sampl
}
/* make some zoom to avoid round pb */
- lenout= (int)(4*nb_samples * s->ratio) + 16;
+ lenout= 4*nb_samples * s->ratio + 16;
bufout[0]= av_malloc( lenout * sizeof(short) );
bufout[1]= av_malloc( lenout * sizeof(short) );