mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-28 05:50:43 +00:00
senseless cast and ()
Originally committed as revision 11118 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
90901860c2
commit
5d702d6db2
@ -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) );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user