From 5d702d6db24bca64bd94a7ed0ad6211967084107 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 1 Dec 2007 00:21:43 +0000 Subject: [PATCH] senseless cast and () Originally committed as revision 11118 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/resample.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) );