Commit 5d702d6d authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

senseless cast and ()

Originally committed as revision 11118 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 90901860
......@@ -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) );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment