mirror of https://git.ffmpeg.org/ffmpeg.git
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 */
|
/* 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[0]= av_malloc( lenout * sizeof(short) );
|
||||||
bufout[1]= av_malloc( lenout * sizeof(short) );
|
bufout[1]= av_malloc( lenout * sizeof(short) );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue