mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02: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